I find the problem...

I was adding the layer after execute map.getCenter().

Thanks






Em 19-03-2013 11:56, Pedro Costa escreveu:
Hi guys,

I'm playing with OpenLayers and I have one question...
In my simple map [1], the variable longlat returns null values, but if i run the instructions,one by one, in firebug not.
Anyone knows the reason?

Thanks



[1] http://pastebin.com/d5imgsn4

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to