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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
