Title: Manipulate map from external objects?
Last modified: August 21, 2016

---

# Manipulate map from external objects?

 *  [alturnwall](https://wordpress.org/support/users/alturnwall/)
 * (@alturnwall)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/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: [http://www.bywayswestmass.com/byways/mohawk-trail/#bywaysmap](http://www.bywayswestmass.com/byways/mohawk-trail/#bywaysmap)
 * Thanks in advance for any ideas,
 * -Alex-
 * [http://wordpress.org/plugins/geo-mashup/](http://wordpress.org/plugins/geo-mashup/)

The topic ‘Manipulate map from external objects?’ is closed to new replies.

 * ![](https://ps.w.org/geo-mashup/assets/icon.svg?rev=1631806)
 * [Geo Mashup](https://wordpress.org/plugins/geo-mashup/)
 * [Support Threads](https://wordpress.org/support/plugin/geo-mashup/)
 * [Active Topics](https://wordpress.org/support/plugin/geo-mashup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geo-mashup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geo-mashup/reviews/)

## Tags

 * [geomashup](https://wordpress.org/support/topic-tag/geomashup/)

 * 0 replies
 * 1 participant
 * Last reply from: [alturnwall](https://wordpress.org/support/users/alturnwall/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/manipulate-map-from-external-objects/)
 * Status: not resolved