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

    Integrate windy API with react-leaflet as BaseLayer on map

    Windy API v4
    3
    5
    1.8k
    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.
    • AisconverseA
      Aisconverse
      last edited by

      I am trying initializing windy map in the react component with help of "react-windy-leaflet" npm package, but it throws peer dependency errors. Even I have tried to implement it with a custom react component but it didn't work and make conflict with the "react-leaflet" npm package.

      I want to integrate the windy map as a layer on map, this layer is one kind of switch to change the map layer(https://prnt.sc/sqnjxi), but unluckily I'm unable to implement it & render it on click of the switch. Please help me to solve this issue, your any kind of help with be helpful to us.

      Please check the same unsolved issue in windy community,
      https://community.windy.com/topic/7892/use-windy-layer-over-our-own-map
      https://community.windy.com/topic/9537/render-windy-layer-in-existing-leaflet-map
      https://community.windy.com/topic/9937/please-i-need-help-regarding-the-use-of-windy-api-with-an-existing-leaflet-map

      1 Reply Last reply Reply Quote 1
      • P
        partech
        last edited by

        We're wondering if there's just tile layers available for basic weather etc?

        1 Reply Last reply Reply Quote 0
        • marekdM
          marekd Administrator
          last edited by

          @Aisconverse Unfortunately, there is no anything like "just Windy layer". The Windy API is very much tied to the Leaflet library. I have never tried this, but I would definitely try another approach: to implement Windy API and add "non-windy" layers.

          AisconverseA 1 Reply Last reply Reply Quote 0
          • AisconverseA
            Aisconverse @marekd
            last edited by

            @marekd Thanks for the reply. I have a question, Is it works on switching from windy to satellite and again satellite to windy?

            Somewhere I go through a post stating, windy have an issue with re-render map on switching.

            1 Reply Last reply Reply Quote 0
            • marekdM
              marekd Administrator
              last edited by

              I have no idea, I have never faced this situation. Sorry.

              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 of Use     Privacy Policy