[OpenLayers-Users] map.getCenter returns null
Pedro Costa
pedrocostaarma at sapo.pt
Tue Mar 19 05:14:13 PDT 2013
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
More information about the Users
mailing list