Ticket #9440: google-map.js.patch

File google-map.js.patch, 609 bytes (added by aromano, 7 years ago)
  • /

    old new  
    3131    alert("Sorry, the Google Maps API is not compatible with this browser.");
    3232  }
    3333}
     34
     35// getIcon function - used to return a personalized GMarker
     36function gmap_getIcon(path,width,height) {
     37  var gicon = new GIcon(G_DEFAULT_ICON, path);
     38  if(height != undefined && width != undefined) { gicon.iconSize = new GSize(width,height); }
     39  return gicon;
     40}
    3441{% endblock %}{% endautoescape %}
Back to Top