Thanks Andreas. That worked like magic. Please where can I see the list of parameters I can use with that (other than lat, lon and zoom).
Also, is it possible to change the focus without page reload? thanks a lot. Ime On Thu, Nov 3, 2011 at 3:22 PM, Andreas Hocevar <[email protected]>wrote: > I think > http://openlayers.org/dev/examples/controls.html?lat=30&lon=30&zoom=5does > 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
