Manipulate map from external objects?
-
Hello,
I currently have a custom contextual map on a page showing only custom posts related to that page using
echo GeoMashup::map( array ( //Variables in here. ));
Alongside the map, I have output a simple list of the post names on the map as links using a separate WP_query.
Is there any way to click on the list of links and have that action center the map on the corresponding pin and open the marker?
I’ve tried using the Geo Mashup Custom Plugin and adding the appropriate javascript to the custom.js file. But it seems that I cannot control anything outside the generated map from that file. Is that true?
Although the design is changing a bit in the new version, here’s a link to the current functionality: https://www.bywayswestmass.com/byways/mohawk-trail/#bywaysmap
Thanks in advance for any ideas,
-Alex-
- The topic ‘Manipulate map from external objects?’ is closed to new replies.