/* $Id: markerloader_static.js,v 1.1.2.4 2008/04/30 21:06:39 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