Toolset Maps is a WordPress plugin that allows you to add address fields to any content type or users and display any content on Google Maps.
Toolset Maps User Guides include detailed documentation for creating these special address fields, adding pointers to them and displaying them on maps.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 1,291 through 1,305 (of 1,312 total)
Problem:
A View displays results on a map. How to not show the map until the location filter has been entered by the user?
Solution:
You can split the View form and View results onto separate pages, so that on the first page only the form shows, and the map will only appear when the second page with the results is loaded.
When you insert a View with the Fields and Views button the UI will show the option to insert only the search form so that the results can be inserted on a different page.
I put the post title and address in there just so I could see that something was happening.
On the page, the place where there should be a map is just blank. and got this JS error in my Chrome browser console window:
Uncaught TypeError: Cannot read property 'sort' of undefined
I'm able to display a map on the post single page just fine.
In my testing, I also disabled all plugins.
Solution:
the problem is in another view "Check This One Out Widget", ID: 129, please edit it, in section "Filter and Loop Output Integration Editor", add below codes:
[wpv-filter-meta-html]
And test again.
the shortcode [wpv-filter-meta-html] is for The entire Filter section of view.
Problem: None of the Markers are displaying on the Google Map. In the backend, each address field is mapped correctly.
Solution: In this case it appears the markup was correct, but there was a problem with the restrictions placed on the API Key. Usually this indicates a problem in the formatting of the domain name applied in the Google Maps API Key console, or a typo. Try removing all restrictions, and check to see if the Markers begin to appear.
Problem:
The issue here is that the customer had a parametric search that is limited to 30 results per page. The customer also had a map on his page and wanted show all his map markers and only filter when the customer performs a search.
Solution:
The solution here is to use 2 maps. The first map will be generated by an unfiltered view.
You will need use the conditional shortcode to switch between both maps.
The simplest example is
[wpv-conditional if="('[wpv-search-term param ="wpv_view_count"]' ne '')"]
[wpv-map-render map_id="map-wheretobuy-all" map_width="100%" map_height="500px"]<h3 class="map-preload-text">Please wait while the map is loading...</h3>[/wpv-map-render]
[/wpv-conditional]
This will only display this map if a search has not been performed as yet.