Displaying 1 result from an estimated 1 matches for "proprietary_polyline".
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...etary(this.api);
-
- // TODO: Add provider code
-
+ map.addOverlay(pl);
return pl;
},
removePolyline: function(polyline) {
var map = this.maps[this.api];
-
- // TODO: Add provider code
+ map.removeOverlay(polyline.proprietary_polyline);
},
getCenter: function() {
- var point;
var map = this.maps[this.api];
+ var pt = map.getCenter();
- // TODO: Add provider code
-
- return point;
+ return new mxn.LatLonPoint(pt.lat(), pt.lng());...