[OpenLayers-Trac] [OpenLayers] #3466: Add zoomOffset to Google Layer

OpenLayers trac-20090302 at openlayers.org
Tue Aug 16 11:57:23 EDT 2011


#3466: Add zoomOffset to Google Layer
--------------------------+-------------------------------------------------
 Reporter:  landry        |       Owner:  tschaub     
     Type:  feature       |      Status:  new         
 Priority:  minor         |   Milestone:  2.12 Release
Component:  Layer.Google  |     Version:  2.10        
 Keywords:                |       State:              
--------------------------+-------------------------------------------------
 Followup to http://trac.osgeo.org/openlayers/ticket/2616, that'd be nice
 to have a similar feature for Google Layers, ie allowing one to use a map
 with a smaller maxExtent (ie not the whole world) and being able to
 display only a subset of Google layers.

 As of now, if i have a map with numZoomLevels=12 and
 maxResolution=2445.9849046875, when i add a google layer the zoom level on
 it is wrong, while it could be 'fixed' by adding zoomOffset.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3466>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list