Windy Community

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

    How to set lat / lon / zoom ?

    Windy API v4
    2
    2
    534
    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.
    • S
      sinay last edited by

      Hi,
      I would like to modify or store the lat / lon either zoom in, windyInit().
      Not in options.
      How can I do this ?
      thanks

      A 1 Reply Last reply Reply Quote 0
      • A
        arjannv @sinay last edited by

        I think you can do it like it's done in v3:

        W.maps.setView([lat, lon], zoom);

        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