[OpenLayers-Users] center an openlayers map using url
Andreas Hocevar
ahocevar at opengeo.org
Thu Nov 3 10:22:36 EDT 2011
I think http://openlayers.org/dev/examples/controls.html?lat=30&lon=30&zoom=5 does what you need.
Andreas.
On Nov 3, 2011, at 14:32 , Ime Asangansi wrote:
> Hi,
>
> I just started looking at openlayers, and its a really good tool.
>
> I need some help. I would like to like to center an openlayers map on a particular latlng using a url e.g xy.com?lat=30&lng=30
> the href is on a div outside the map and I'm using body onload as in the examples.
>
> Thanks for your suggestions.
>
> Ime
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list