search for: enablescrollwheelzoom

Displaying 5 results from an estimated 5 matches for "enablescrollwheelzoom".

2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...Web({key: cloudmade_key}); this.maps[api] = new CM.Map(element, cloudmade); - this.loaded[api] = true; - }, applyOptions: function(){ var map = this.maps[this.api]; - // TODO: Add provider code + if(this.options.enableScrollWheelZoom){ + map.enableScrollWheelZoom(); + } }, resizeTo: function(width, height){ // TODO: Add provider code + this.maps[this.api].checkResize(); }, addControls: function( args ) { var map = this.maps...
2008 Sep 24
0
Scroll to zoom?
How would I enable scroll to zoom on a Google map? The GMap2 API has map.enableScrollWheelZoom() Thanks, Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20080924/c3c4cdf4/attachment.htm>
2009 Sep 21
0
r34 committed - removed deprecated method draggable, all controls off when first creat...
...,8 +33,15 @@ }, applyOptions: function(){ - var map = this.maps[this.api]; - // TODO: Add provider code + var map = this.maps[this.api]; + var myOptions = []; + if (this.options.enableDragging) { + myOptions.draggable = true; + } + if (this.options.enableScrollWheelZoom){ + myOptions.scrollwheel = true; + } + map.setOptions(myOptions); }, resizeTo: function(width, height){ @@ -50,11 +62,20 @@ this.addSmallControls(); } } + if (args.scale){ + var myOptions = { +...
2010 Mar 11
0
r75 committed - turn off scrollwheel on by default, can then be activated vi applyOpti...
Revision: 75 Author: freyfogle Date: Thu Mar 11 10:56:51 2010 Log: turn off scrollwheel on by default, can then be activated vi applyOptions enableScrollWheelZoom http://code.google.com/p/mapstraction/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 @@ m...
2009 Feb 09
15
Mapstraction v2 architecture demo - work in progress
Hi guys, Been working on this over the past few evenings and, although it''s not actually working yet, I thought I''d give you a first glance. The core mapstraction stuff is about 1800 lines with the Google implementation code adding another 500. Original mapstraction is 5353 lines so we''re looking at 5800 for this version if you were to include all provider