Navigation

    Windy Community

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

    Posts made by ayo0422

    • RE: featureGroup not show in windy
              L.semiCircle(latlng, {
                  radius: i * opts.interval,
                  fill: false,
                  color: '#4285f44a',
                  weight: 5
              }).setDirection(opts.direction, opts.spread).addTo(layer);
          }
          return layer;
        }
      
        rangerings(latlng).addTo(map).bringToFront();
      
      }
      
      posted in Developers
      A
      ayo0422
    • featureGroup not show in windy

      Hi, I am new to windy.

      I am trying to draw semi circle on map, so i am using an extension called 'Leaflet-semicircle'.

      but when i add the semi circles into a featureGroup, then add featureGroup into M.map, it dosen't anything on windy.

      Is something wrong?

      windyInit(options, function (windyAPI) {
      
        var map = windyAPI.map;
        var latlng = [0, 0];
      
        function rangerings (latlng, opts) {
          opts = L.extend({
              count: 8,
              interval: 1000,
              direction: 120,
              spread: 60
          }, opts);
      
          var layer = L.featureGroup();
          for (var i = 1; i 
      posted in Developers
      A
      ayo0422