Comprehensive Google Map Plugin
Clickable list/sidebar (6 posts)

  1. JakeClaro
    Posted 4 years ago #


    I'm wondering if there is any way to have a list that displays all of the placemarks, and have each of the placemarks in this list refer back to the placemark on the map when clicked --- much like the way it would work on the actual google maps page with the placemarks on the left that then refer to the location on the map. Thanks and great plugin!




  2. alexanderzagniotov
    Plugin Contributor

    Posted 4 years ago #

    Hi, its a nice idea, but ATM it is not supported.

    Thank you

  3. JakeClaro
    Posted 4 years ago #

    Okay cool.

    I realize its probably not an easy endeavor but I know a lot of users who would find a feature like that incredibly helpful. Excellent plug-in nonetheless and thanks for the quick reply!

  4. antioch
    Posted 3 years ago #

    has there been any progress on this?

  5. Solerdev
    Posted 3 years ago #

    Excellent plugin, thank you!
    I'm looking for a method to change the location of the map by clicking links. I didn't find a way to do it on a "onClick" event or from another JS code. Someone knows how to do that? something about namespace I think.

    After some tests, I made an alternative method that maybe can help someone:

    Adding this code in cgmp.framework.js (or .min.js)
    at the end of
    if ($('div#' + json.id).length > 0) {


    the added code is:

    	newCoords = $(this).attr("href").split(" ").join("").split("#").join("").split(",")
    	if(newCoords[0] != "" && newCoords[0] != undefined && newCoords[0] != null && newCoords[1] != "" && newCoords[1] != undefined && newCoords[1] != null){
    		googleMap.setCenter(new google.maps.LatLng( newCoords[0], newCoords[1] ) );
    		if(newCoords[2] != "" && newCoords[2] != undefined && newCoords[2] != null){

    It adds the hability to any link with the class "moveGoogleMap" change the map by coords and zoom in the href attribute. The info is comma separated.
    like this:


    hope it helps, Thanks again for the plugin!

  6. Solerdev
    Posted 3 years ago #

    the example link, I forgot to make it code mode:

    <a class="moveGoogleMap" href="#-37.09024,-68.554687,4">chile</a>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Comprehensive Google Map Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic