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

    Asking about integrated windy maps to my react

    Scheduled Pinned Locked Moved Windy API v4
    5 Posts 3 Posters 1.4k 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.
    • Yue NishaY Offline
      Yue Nisha
      last edited by

      I've one issue with injecting windy to my project, it require project identification, but my project is under development and using localhost instead a domain, so how can I get authorized ?

      SutyS 1 Reply Last reply Reply Quote 0
      • SutyS Offline
        Suty Administrator @Yue Nisha
        last edited by

        @Yue-Nisha Hi, you can add the ,localhost into this column and it should work there as well.

        1 Reply Last reply Reply Quote 1
        • Yue NishaY Offline
          Yue Nisha
          last edited by

          Thank you, now it works but I got a new problem !
          e046e870-98cc-4911-8440-ea886de889af-image.png as you can see the play button is only display half of it, why ?

          Here the code where I use it:

          import React from 'react';
          
          export default function CurrentWeather(){
              const options = {
                  key: 'M7pQnMBwZaBGVpdBNtqLe6R2DlxTAcmC', // REPLACE WITH YOUR KEY !!!
                  lat: 50.4,
                  lon: 14.3,
                  zoom: 1,
              };
              // eslint-disable-next-line no-undef
              windyInit(options, windyAPI => {
          
                  const { map } = windyAPI;
              });
          
              return <div>;
          }
          ```</div>
          SutyS 1 Reply Last reply Reply Quote 0
          • SutyS Offline
            Suty Administrator @Yue Nisha
            last edited by

            @Yue-Nisha Hi, you probably have some own styles, which probably overwrite something from ours. I would recommend checking these on your end.

            1 Reply Last reply Reply Quote 0
            • D Offline
              devipinnamaneni
              last edited by

              @Yue-Nisha Could me please let me know how you integrated maps into react app. I am trying to integrate getting error script is not getting loaded. Failed to load Windy API script with error ERR_BLOCKED_BY_ORB

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