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-boun...@openlayers.org [mailto:users-boun...@openlayers.org]
On Behalf Of Alessandro Ferrucci
Sent: Tuesday, June 08, 2010 9:43 AM
To: users@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

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to