search for: setmaptyp

Displaying 2 results from an estimated 2 matches for "setmaptyp".

Did you mean: setmaptype
2008 Jun 03
3
OpenSpace support for mapstraction
...kers() 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. Regards Colin Law -------------- next part -------------- A non-text attachment was scrubbed... Name: mapstraction_js_patch.zip Type: application/x-zip-compressed Size: 6564 bytes Desc: not available URL: <http://lists.mapstraction.com/pipermai...
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...ox.getNorthEast(); var sw = bbox.getSouthWest(); - var zoom; - - // TODO: Add provider code + var zoom = map.getBoundsZoomLevel(new CM.LatLngBounds(sw.toProprietary(this.api), ne.toProprietary(this.api))); return zoom; }, setMapType: function(type) { var map = this.maps[this.api]; + + // TODO: Are there any MapTypes for Cloudmade? + switch(type) { case mxn.Mapstraction.ROAD: // TODO: Add provider code @@ -163,9 +173,9 @@ getMapType: function(...