Thanks for your help Troy :-)
When using...
... instead of
both ways, passing full object or splitting it to multiply function calls,
gave me a similar result. It's a good enough explanation/solution for me.
Thanks,
Jonas
--
View this message in context:
http://osgeo-org.1803224.n2.nab
Hi,
I apologize if this isn't the correct forum for my sort of question. But I'm
very new to this and I will however give it a try.
This line of code will render the map just as it is supposed to do:
map = new OpenLayers.Map({div: "map", controls: [geolocate], layers:
[layer]});
... but should