I am new to OpenLayers and I have to develop an offline application that uses it. I have downloaded OL 3.7.0 and set it up with a test html file that loads the OL javascript file via:
<script src="./build/ol.js"></script>
The next thing I do is get the version via:
document.write(ol.VERSION_NUMBER);
My questions are:
1) Yes VERSION_NUMBER doesn't exist in ol3, the version number of ol3 you use is written on top of the ol.js file.
2) ol3 is pure javascript so, if you load the compiled file (ol.js) in your HTML page, you don't need more to use it. If you want to compile yourself the library, have a look to the github page
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With