Hi all.
I'd like to use the following Open Layers script in a static page, and use it with javascript but I'm not able to make it work. Not easy to debug neither. I tried also to put it in a shortcode. It works if I just load and html page in a browser. here is it:
[Code moderated as per the Forum Rules. Please use the pastebin]
Any help would be really appreciated. thanks in advance!