search for: navigationcontroloptions

Displaying 4 results from an estimated 4 matches for "navigationcontroloptions".

2010 Mar 11
0
r75 committed - turn off scrollwheel on by default, can then be activated vi applyOpti...
...ev3.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
2009 Sep 20
0
r30 committed - jslint now passing for google and googlev3
...#39;){ + this.addLargeControls(); + } else { + this.addSmallControls(); + } } }, @@ -66,7 +68,7 @@ var map = this.maps[this.api]; var myOptions = { navigationControl:true, - navigationControlOptions: {style:google.maps.NavigationControlStyle.DEFAULT}, + navigationControlOptions: {style:google.maps.NavigationControlStyle.DEFAULT} }; map.setOptions(myOptions); this.addControlsArgs.pan = true; @@ -77,7 +79,7 @@ var map = this.maps[this.api];...
2009 Sep 21
0
r34 committed - removed deprecated method draggable, all controls off when first creat...
...map.setOptions(myOptions); + this.addControlsArgs.scale = true; + } }, addSmallControls: function() { var map = this.maps[this.api]; var myOptions = { + scrollwheel: false, navigationControl:true, navigationControlOptions: {style:google.maps.NavigationControlStyle.SMALL} }; @@ -85,12 +106,6 @@ this.addControlsArgs.map_type = true; }, - dragging: function(on) { - var map = this.maps[this.api]; - - // TODO: Add provider code - }, - setCenterAndZoom: function(point, zoom) { var map =...
2010 Nov 08
1
API Google MAPS
...position: latlng, map: map, draggable: true }); } function add_marker(map, lat, lng) { var point = new google.maps.LatLng(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.g...