Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    1. Home
    2. Tedde
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Best 2
    • Controversial 0
    • Groups 1

    Tedde

    @Tedde

    6
    Reputation
    127
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website www.followmychallenge.com Location The Netherlands

    Tedde Unfollow Follow
    API4 Early Tester

    Best posts made by Tedde

    • RE: Windy API4 - examples of succesfull use

      🛰️ LIVE: Apprentis Nomades

      Follow Téo, Norman & Julien on their 'Straight to Patagonia' voyage 👇
      https://www.followmychallenge.com/live/apprentisnomades/

      We have build a Windy based map that is connected to their Iridium GO!

      Web: https://apprentisnomades.org/
      Facebook: Apprentis Nomades
      Insta: https://www.instagram.com/apprentis_nomades/

      posted in Windy API v4
      Tedde
      Tedde
    • RE: Zoom is limited to level 11

      You can adjust the zoom levels by adding the following code to the windyInit{}

      map.options.minZoom = 4;
      map.options.maxZoom = 18;
      

      Then you can add another tile layer, hidden by default if you start at a higher zoom level:

      topLayer =L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}').addTo(map); 
      topLayer.setOpacity('0');       
      

      Create a document ready with and add a zoomend listener that detects if the zoom is 12 or higher. If so, show the 'other' tile layer.

      map.on('zoomend', function() { 
          if (map.getZoom() >= 12) {
              topLayer.setOpacity('1');
          } else {
              topLayer.setOpacity('0');   
          }
      });
      

      You can now zoom in to a deep level, in this example 18, with a tile layer of your own choice.
      Note: this is leaflet related, not specifically Windy API related.

      0_1540884242922_windyzooming.jpg

      posted in Windy API v4
      Tedde
      Tedde

    Latest posts made by Tedde

    • RE: Windy API4 - examples of succesfull use

      🛰️ LIVE: Apprentis Nomades

      Follow Téo, Norman & Julien on their 'Straight to Patagonia' voyage 👇
      https://www.followmychallenge.com/live/apprentisnomades/

      We have build a Windy based map that is connected to their Iridium GO!

      Web: https://apprentisnomades.org/
      Facebook: Apprentis Nomades
      Insta: https://www.instagram.com/apprentis_nomades/

      posted in Windy API v4
      Tedde
      Tedde
    • RE: Zoom is limited to level 11

      You can adjust the zoom levels by adding the following code to the windyInit{}

      map.options.minZoom = 4;
      map.options.maxZoom = 18;
      

      Then you can add another tile layer, hidden by default if you start at a higher zoom level:

      topLayer =L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}').addTo(map); 
      topLayer.setOpacity('0');       
      

      Create a document ready with and add a zoomend listener that detects if the zoom is 12 or higher. If so, show the 'other' tile layer.

      map.on('zoomend', function() { 
          if (map.getZoom() >= 12) {
              topLayer.setOpacity('1');
          } else {
              topLayer.setOpacity('0');   
          }
      });
      

      You can now zoom in to a deep level, in this example 18, with a tile layer of your own choice.
      Note: this is leaflet related, not specifically Windy API related.

      0_1540884242922_windyzooming.jpg

      posted in Windy API v4
      Tedde
      Tedde
    • RE: Windy API4 - examples of succesfull use

      The launch of the Figure 8 Voyage 2.0 is approaching! ⛵

      A first-ever circumnavigation of both the American and Antarctic continents in one season.

      When? Sunday, September 30th, 2018

      We have updated the tracker to Windy API4 👇
      https://www.followmychallenge.com/live/figure8voyage/2/

      More information:
      http://figure8voyage.com/
      https://www.facebook.com/figure8voyage/

      posted in Windy API v4
      Tedde
      Tedde