Hi, in OL is MAX_ZOOM_LEVEL=19 the default for Google Layers. You can change this like OpenLayers.Layer.Google.prototype.MAX_ZOOM_LEVEL = 21; or in the options for the Google layer MAX_ZOOM_LEVEL:21 i'm not sure, if this solves your problem. Arnd _____
Von: [email protected] [mailto:[email protected]] Im Auftrag von Robert Hicks Gesendet: Freitag, 22. Mai 2009 18:18 An: [email protected]; [email protected] Betreff: [OpenLayers-Users] My map will not zoom in past 1: 1066 No matter what I change in my options which are passed into the map constructor I cannot zoom in on my map past a scale of 1:1066. Here are my options: var options = { projection: new OpenLayers.Projection("EPSG:900913"), displayProjection: new OpenLayers.Projection("EPSG:4326"), units: "m", numZoomLevels: 27, maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508.34) }; My base map: var google = new OpenLayers.Layer.Google( "Google Maps", { 'sphericalMercator': true } ); I have tried increasing numZoomLevels and adding minScale, minResolution. No effect so I have taken them out.
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
