/* $Id: markerloader_static.js,v 1.2 2008/07/15 16:30:30 bdragon Exp $ */ /** * GMap Marker Loader * Static markers. * This is a simple marker loader to read markers from the map settings array. * Commonly used with macros. */ // Add a gmap handler Drupal.gmap.addHandler('gmap', function(elem) { var obj = this; var marker, i; if (obj.vars.markers) { // Inject markers as soon as the icon loader is ready. obj.bind('iconsready',function() { for (i=0; i