Title: [Plugin: Comprehensive Google Map Plugin] Clickable list/sidebar
Last modified: August 20, 2016

---

# [Plugin: Comprehensive Google Map Plugin] Clickable list/sidebar

 *  [JakeClaro](https://wordpress.org/support/users/jakeclaro/)
 * (@jakeclaro)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-clickable-listsidebar/)
 * Hi,
 * 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!
 * best,
 * Jake
 * [http://wordpress.org/extend/plugins/comprehensive-google-map-plugin/](http://wordpress.org/extend/plugins/comprehensive-google-map-plugin/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [alexanderzagniotov](https://wordpress.org/support/users/alexanderzagniotov/)
 * (@alexanderzagniotov)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-clickable-listsidebar/#post-2610965)
 * Hi, its a nice idea, but ATM it is not supported.
 * Thank you
 *  Thread Starter [JakeClaro](https://wordpress.org/support/users/jakeclaro/)
 * (@jakeclaro)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-clickable-listsidebar/#post-2610971)
 * 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!
 *  [antioch](https://wordpress.org/support/users/antioch/)
 * (@antioch)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-clickable-listsidebar/#post-2611199)
 * has there been any progress on this?
 *  [Solerdev](https://wordpress.org/support/users/solerdev/)
 * (@solerdev)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-clickable-listsidebar/#post-2611201)
 * Hi,
    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) {
 * **–>here**
    }else{ //Logger.fatal… }
 * the added code is:
 *     ```
       $('.moveGoogleMap').click(function(e){
       	e.preventDefault();
       	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){
       			googleMap.setZoom(parseInt(newCoords[2]));
       		}
       	}
       })
       ```
   
 * 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:
 * [chile](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-clickable-listsidebar/?output_format=md#-37.09024,-68.554687,4)
 * hope it helps, Thanks again for the plugin!
 *  [Solerdev](https://wordpress.org/support/users/solerdev/)
 * (@solerdev)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-clickable-listsidebar/#post-2611202)
 * the example link, I forgot to make it code mode:
 *     ```
       <a class="moveGoogleMap" href="#-37.09024,-68.554687,4">chile</a>
       ```
   

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Comprehensive Google Map Plugin] Clickable list/sidebar’ is 
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/comprehensive-google-map-plugin_e2e4ef.
   svg)
 * [Comprehensive Google Map Plugin](https://wordpress.org/plugins/comprehensive-google-map-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comprehensive-google-map-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Solerdev](https://wordpress.org/support/users/solerdev/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-comprehensive-google-map-plugin-clickable-listsidebar/#post-2611202)
 * Status: not resolved