Try making your maxExtent larger, see if that helps.
----- Original Message -----
From: "Robert Hicks" <[email protected]>
To: [email protected], [email protected]
Sent: Friday, May 22, 2009 1:18:28 PM GMT -04:00 Atlantic Time (Canada)
Subject: [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
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users