[OpenLayers-Users] map.setCenter throws maxExtent has no properties

Ed Fialkowski edfialk at gmail.com
Mon Jun 11 13:30:03 EDT 2007


Ahh, there ya go Christopher.  I guess the call was being made before those
last maps had finished loading, so the base layer wasn't...there yet..

So, I change to setTimeout("setCenter", 100), and that gives it enough
time.

Works great! Thanks again!

-Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070611/2d4e8342/attachment.html


More information about the Users mailing list