Displaying 2 results from an estimated 2 matches for "addtilelay".
Did you mean:
addtilelayer
2008 Jun 03
3
OpenSpace support for mapstraction
...metimes to have a problem with links clicked
from email. If you get an error ''HTTP referrer not valid'' then open a new
browser window and paste in the link and it should be ok.
The following features are not supported:
declutterMarkers()
showRoute()
addImageOverlay()
addOverlay()
addTileLayer()
toggleTileLayer()
Polyline.show() and hide()
Marker.setInfoDiv(), setDraggable(), setHoverIcon(), setShadowIcon(),
openBubble()
Map type control (if requested in addControls() this provides ability to
switch on/off layers and markers)
setMapType() and getMapType()
Everything else should work....
2009 Dec 13
0
r65 committed - Use the GeoCommons addOverlay method
...// Try if we''ve been given either a string of the ID or a URL
+ match = url.match(/^(\d+)$/)
+ if(match != null){
+ match = url.match(/^.*?maps\/(\d+)(\?\(\[?(.*?)\]?\))?$/);
+ }
+
+ map.loadMap(match[1]);
},
addTileLayer: function(tile_url, opacity, copyright_text,
min_zoom, max_zoom) {
@@ -220,13 +231,52 @@
var map = this.maps[this.api];
// TODO: Add provider code
- }
+ },
+ addMarker: function(marker, old) {
+ var map = this.maps[this.api];
+...