Displaying 3 results from an estimated 3 matches for "maptypecontrolopt".
2009 Sep 20
0
r30 committed - jslint now passing for google and googlev3
...style:google.maps.NavigationControlStyle.DEFAULT}
};
map.setOptions(myOptions);
this.addControlsArgs.pan = true;
@@ -77,7 +79,7 @@
var map = this.maps[this.api];
var myOptions = {
mapTypeControl: true,
- mapTypeControlOptions: {style:
google.maps.MapTypeControlStyle.DEFAULT},
+ mapTypeControlOptions: {style:
google.maps.MapTypeControlStyle.DEFAULT}
};
map.setOptions(myOptions);
this.addControlsArgs.map_type = true;
@@ -150,7 +152,7 @@
setCenter: function(point...
2010 Mar 11
0
r75 committed - turn off scrollwheel on by default, can then be activated vi applyOpti...
...pstraction/source/detail?r=75
Modified:
/trunk/source/mxn.googlev3.core.js
=======================================
--- /trunk/source/mxn.googlev3.core.js Wed Feb 10 16:35:50 2010
+++ /trunk/source/mxn.googlev3.core.js Thu Mar 11 10:56:51 2010
@@ -12,7 +12,8 @@
mapTypeControl: false,
mapTypeControlOptions: null,
navigationControl: false,
- navigationControlOptions: null
+ navigationControlOptions: null,
+ scrollwheel: false
};
// find controls
2010 Nov 08
1
API Google MAPS
...g(parseFloat(lat),parseFloat(lng));
var myOptions = {
zoom: 10,
center: point,
//mapTypeControl: false,
mapTypeId: google.maps.MapTypeId.ROADMAP,
navigationControlOptions: {
style: google.maps.NavigationControlStyle.ZOOM_PAN,
position: google.maps.ControlPosition.TOP_RIGHT
},
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU,
position: google.maps.ControlPosition.TOP_LEFT
},
};
var map = new google.maps.Map(document.getElementById("mapilla"),
myOptions);
// add the marker itself
var marker = new google.maps.Marker({
position:...