Displaying 2 results from an estimated 2 matches for "addimageoverlay".
2008 Jun 03
3
OpenSpace support for mapstraction
...Note that OpenSpace seems sometimes 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()
Eve...
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...function(bounds){
@@ -184,8 +196,7 @@
var sw = bounds.getSouthWest();
var ne = bounds.getNorthEast();
- // TODO: Add provider code
-
+ map.zoomToBounds(new CM.LatLngBounds(sw.toProprietary(this.api),
ne.toProprietary(this.api)));
},
addImageOverlay: function(id, src, opacity, west, south, east,
north, oContext) {
@@ -237,11 +248,12 @@
LatLonPoint: {
toProprietary: function() {
- return new CM.LatLng(this.lat,this.lon);
+ var cll = new CM.LatLng(this.lat,this.lon);
+ return cll;
},
- fromPropri...