Support » Plugin: WP Go Maps (formerly WP Google Maps) » Click link outside of map to center the map on a marker?

  • Resolved oxygensmith

    (@oxygensmith)


    Hi there WPGM developers,

    I’m just wondering if there’s javascript I can use to click on a button outside of a generated map, to center the map in the map window on a certain marker on the map.

    So clicking a button or link called “Store 1” would center the map on the Store One marker, “Store 2” would center the map on the Store Two marker, etc.

    Thanks!

    Rob

    https://wordpress.org/plugins/wp-google-maps/

Viewing 1 replies (of 1 total)
  • Plugin Author WPGMaps

    (@wpgmaps)

    Hi Rob.

    This can be done by calling one of the functions directly in a link to open a specific marker up. Are you using the Basic or Pro version of our plugin?

Viewing 1 replies (of 1 total)
  • The topic ‘Click link outside of map to center the map on a marker?’ is closed to new replies.