[OpenLayers-Users] Setting bounds disables map
David Lozzi
dlozzi at delphi-ts.com
Wed Oct 14 14:25:58 EDT 2009
Thanks Michael.
I've changed it to the following and now the map doesn't disappear, but
it is not limiting my zooming out. I can zoom out far past the map.
var bounds = new OpenLayers.Bounds();
bounds.extend(new
OpenLayers.LonLat(-73.54243,41.48687)); //bottom left
bounds.extend(new OpenLayers.LonLat(-69.88948,42.89861)); //top right
bounds.toBBOX();
Thanks,
David Lozzi
Product Development Manager
Delphi Technology Solutions, Inc.
(978) 988-8007 x204 - www.delphi-ts.com <http://www.delphi-ts.com/>
Blog <http://www.delphi-ts.com/blogs/lozzi> - LinkedIn
<http://www.linkedin.com/in/davidlozzi> - Twitter
<http://www.twitter.com/davidlozzi>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091014/24263038/attachment.html
More information about the Users
mailing list