Figured it out:
Under JS enter this:
W.overlays.wind.setMetric('m/s')
to preselect meters per second as wind unit.
These are the options to choose from:
['kt', 'bft', 'm/s', 'km/h', 'mph']
Posts
-
RE: How do I change from Celsius to Fahrenheit?
-
RE: How do I change from Celsius to Fahrenheit?
Is there a way to set the default unit of temperature and wind in the new API?
-
RE: Zoom in to favorites by default
Hey again. Just figured out how to center the map. Just add this under JS:
const maps = W.maps;
maps.setView([55.34, 11.99])
maps.setZoom([8]);Change the numbers to where you need to focus and select your zoom level. Please note the second digit after the comma is not fully used. Hence it is difficult to set the view exactly where you would like it to be when zoomed to levels 12+.
-
RE: Zoom in to favorites by default
I would also love to know how to zoom to a specific place and zoom level to be displayed by default. If someone knows how or if it is not possible, please share your wisdom. Cheers. And Thanks.