Displaying 1 result from an estimated 1 matches for "flashmap".
Did you mean:
flash_map
2009 Dec 13
0
r65 committed - Use the GeoCommons addOverlay method
...dZoom) {
var map = this.maps[this.api];
- var me = this;
- new F1.Maker.Map({map_id:url, dom_id:this.element.id,
- onload: function(map){ me.maps[me.api] = map }});
- // setTimeout(function() { me.maps[me.api] =
swfobject.getObjectById(FlashMap.dom_id);}, 500);
+ var match;
+
+ if(typeof(url) === "number") {
+ map.loadMap(url);
+ return;
+ }
+ // Try if we''ve been given either a string of the ID or a URL
+ match = url.match(/^(\d+)$/)
+...