Navigation

    Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    Setting level on open

    Windy API v4
    2
    3
    64
    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
      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
        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
        • marekd
          marekd Administrator 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
          Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
          NodeBB & contributors, OSM & contributors, HERE maps
          Terms and Conditions     Privacy Policy