Navigation

    Windy Community

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

    Add wind speed legend

    Windy API v4
    3
    4
    521
    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.
    • G
      gregora last edited by

      Hello I have a question. How can I add the wind speed legend to the map? Is there an option when you init the map for this?

      Gkikas LGPZ 1 Reply Last reply Reply Quote 0
      • Gkikas LGPZ
        Gkikas LGPZ Moderator @gregora last edited by

        @gregora
        The legend is here (by default).
        0_1540446649655_829ccc11-c3ff-49c5-a2eb-fdb978d7ff23-εικόνα.png

        G 1 Reply Last reply Reply Quote 1
        • G
          gregora @Gkikas LGPZ last edited by

          @gkikas-lgpz Thanks I accidentally hide the css class. Is there a way to hide the city labels as well? I do not need those

          siim 1 Reply Last reply Reply Quote 0
          • siim
            siim @gregora last edited by

            try:
            W.map.removeLayer(W.labelsLayer);

            1 Reply Last reply Reply Quote 2
            • 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