Google tag

Pages

jQuery plugin for creating Google Maps from semantic markup

Github Link : https://github.com/vigetlabs/jmapping

Solved AJAX update #map-side-bar the #map-link click but malfunction.

$(document).on('click', location_link_selector ,function(e){
e.preventDefault();
var marker_index = parseInt($(this).attr('href').split('#')[1], 10);
google.maps.event.trigger(gmarkers[marker_index], "click");
});
$(location_link_selector).live('click' ,function(e){
e.preventDefault();
var marker_index = parseInt($(this).attr('href').split('#')[1], 10);
google.maps.event.trigger(gmarkers[marker_index], "click");
});