- This topic has 1 reply, 2 voices, and was last updated 7 years, 3 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Google maps and plugin
Tagged: google maps
The only way that I have done this myself is to sue a plugin called WP Google Maps Pro, and that allows a ‘mashup’ map. I make a master map, which has a MAP ID.
Then I make a Map for each ‘post’ and have a custom field in the post to manually store that post’s Map ID.
I used our shortcode method, but modified the while loop to add to two strings that would be outputted after the while loop had completed. One string was added to in each iteration to build up the mashup shortcode, and the other string had the posts in, so the eventual output was a map at the top, under which was the post grid.
I think this thread showed part of this method (the map was under the post grid I think, and so the post grid could be output live instead of stored in a string variable):
https://support.searchandfilter.com/forums/topic/google-map-api-integration/