[OpenLayers-Dev] My map will not zoom in past 1: 1066

Robert Hicks robhyx at gmail.com
Fri May 22 12:18:28 EDT 2009


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20090522/aa9e80cb/attachment.html


More information about the Dev mailing list