[OpenLayers-Users] Map begin at specific zoom level

Ralph Dell RDell at CatawbaCountyNC.gov
Tue Jun 8 10:25:38 EDT 2010


I have used

 maxExtent: new OpenLayers.Bounds() in the map options or

map.setCenter(new OpenLayers.LonLat(x,y),zoomlevel);

 

They both methods give me the initial map that I want.

 

Ralph Dell

 

From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
On Behalf Of Alessandro Ferrucci
Sent: Tuesday, June 08, 2010 9:43 AM
To: users at openlayers.org
Subject: [OpenLayers-Users] Map begin at specific zoom level

 

How do I cause my map to load at a specific zoom level or scale level
when it is first initialized?
thank you

-- 
Signed,
Alessandro Ferrucci

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100608/b1938d82/attachment.html


More information about the Users mailing list