Works well, needs some tweaking
-
Great plugin that is quick and easy to get working. It needed some styling tweaks which for a web developer was easy. I added a custom page type so that each store has it’s own page, great for SEO.
I also added code to cluster pins that were too close together to see on Google maps as follows:
jQuery( document ).ready(function() {
setTimeout( function() {
if (jQuery(‘#map_td’).length>0) {
jQuery.getScript(“https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js”,
function(){
var markerCluster = new MarkerClusterer(sl_map, sl_marker_array,
{
imagePath: ‘https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m’,
gridSize:4
}
);
});
}
}, 1500);
});
I used a custom javascript plugin to add this code to the page.
- The topic ‘Works well, needs some tweaking’ is closed to new replies.