Thanks Chris, I actually did try that and I get the same result. On Fri, May 22, 2009 at 12:51 PM, Chris Claydon <chris.clay...@autodesk.com>wrote:
> Are you setting the number of zoom levels on the map or on the google > layer? In a recent discussion I was led to believe that OL will pick up > settings from the base layer rather than the map… > > > > This may be a red herring, but it’s something to try. > > > > Chris. > > > > *From:* dev-boun...@openlayers.org [mailto:dev-boun...@openlayers.org] *On > Behalf Of *Robert Hicks > *Sent:* Friday, May 22, 2009 10:18 AM > *To:* us...@openlayers.org; dev@openlayers.org > *Subject:* [OpenLayers-Dev] 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. > -- myspace http://www.myspace.com/diemtvdie aim hyx1138
_______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev