[OpenLayers-Users] Zoom to feature after mapload
Herman Badenhorst
hbadenhorst at hotmail.com
Wed Jan 27 03:21:22 EST 2010
Hi group.
I need to implement the functionality where the map automatically zoom's to
a feature after the map is loaded.
Thus, my url will look something like this:
http://host/MapViewer.php?SelectedUnit=123
The request parameter is the value of the 'unit' attribute in my layer.
Is there a way to get the bounds for this feature based on the attribute?
Then the zoom would be easy to implement.
Regards,
Herman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100127/98c4c6ab/attachment.html
More information about the Users
mailing list