search for: applyoptions

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

2009 Sep 21
0
r34 committed - removed deprecated method draggable, all controls off when first creat...
...ls and road map + var myOptions = { + disableDefaultUI: true, + mapTypeId: google.maps.MapTypeId.ROADMAP + }; + var map = new google.maps.Map(element, myOptions); // deal with click @@ -28,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){ + myOption...
2009 Nov 04
0
r53 committed - applied patch from John McKerrell
...own Google markers directly on the map + // then there is no location and this event should not fire. + if ( location ) { + me.clickHandler(location.lat(),location.lng(),location,me); + } + }); }, applyOptions: function(){ @@ -87,6 +102,7 @@ removeMarker: function(marker) { var map = this.maps[this.api]; + marker.proprietary_marker.closeInfoWindow(); map.removeOverlay(marker.proprietary_marker); },
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 @@...
2009 Jul 08
2
Theora 1.1 rate controller
Hello everyone, I'm currently developing an adaptive videoconferencing application based on Ekiga which uses TFRC as a congestion control mechanism to adapt the video encoding rate according to the quality of the network experienced. My goal was to use the open-source Theora codec for video transmission. Unfortunately, it seemed that Theora 1.0 did not properly implement any correct CBR mode.
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...dmade.core.js Sun May 31 17:34:27 2009 @@ -6,49 +6,73 @@ var me = this; var cloudmade = new CM.Tiles.CloudMade.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 p...