Displaying 3 results from an estimated 3 matches for "getmaptype".
2008 Jun 03
3
OpenSpace support for mapstraction
...)
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/pipermail/mapstraction-map...
2009 Sep 20
0
r30 committed - jslint now passing for google and googlev3
...,7 @@
setCenter: function(point, options) {
var map = this.maps[this.api];
var pt = point.toProprietary(this.api);
- if(options && options[''pan'']) {
+ if(options && options.pan) {
// TODO: Add provider code
}
else {
@@ -205,7 +207,7 @@
getMapType: function() {
var map = this.maps[this.api];
- var type = map.getMapTypeId()
+ var type = map.getMapTypeId();
switch(type) {
case google.maps.MapTypeId.ROADMAP:
return mxn.Mapstraction....
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...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() {
var map = this.maps[this.api];
- // TODO: Add provider code
+ // TODO: Are there any MapTypes for Cloudmade?
- //return mxn.Mapstraction.ROAD;
+ return mxn.Mapstraction.ROAD;
//return mxn.Mapstraction.SATELLITE;...