This section to be preceise.
target: 'map',
view: new ol.View({
center: ol.proj.fromLonLat([0, 0]),
zoom: 2
})
Changing zoom level to 5 or 10 for example, does nothing, nor does adding lon and lat.
Nevermind, I just added the coordinates to the server settings and that did it.
That'll teach me not to read the manual.
Hi,
In the simple view app.js, the options to add location and zoom level are there, but when I change them they do not reflect in the browser.
I have tried clearing cache and even a new browser but it never changes anything. Does the .js file need recompiling or something?
THanks