[OpenLayers-Users] How can I set the Initial extents of my map?

Daniel Porter danielbporter at gmail.com
Tue Jul 12 17:42:51 EDT 2011


Alternatively, map.zoomToMaxExtent()

 ;)

http://dev.openlayers.org/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.zoomToMaxExtent

On Tue, Jul 12, 2011 at 5:36 PM, Phil Scadden <p.scadden at gns.cri.nz> wrote:
> map.zoomtoExtent(bounds)? immediately after creating the map?
>
> Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>


More information about the Users mailing list