Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Setting level on open

    Scheduled Pinned Locked Moved Windy API v4
    3 Posts 2 Posters 937 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      powellbound API developers
      last edited by

      How does one set the broadcast level on opening the page?

      TIA

      1 Reply Last reply Reply Quote 0
      • P Offline
        powellbound API developers
        last edited by

        Got it! Set it in the options: const options = { level: 'whatever' }.

        Now, how do I get the lat and lon of a marker when I click on it?

        1 Reply Last reply Reply Quote 0
        • marekdM Online
          marekd Windy Staff
          last edited by

          Hi @powellbound, consider Windy API as an another normal Leaflet layer. Everything else is provided by Leaflet itself (eg. markers, its lat lon, distance, ...).

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Windy Community  |  Powered by excellent NodeBB
          Terms of Use     Privacy Policy     Windy.com