1.2.1 • Published 2 years ago

leaflet-irregular-channel v1.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

leaflet-irregular-channel

a leaflet plugin for creating a irregular channel

demo

installing

npm install leaflet-irregular-channel -S

including

import irregularChannel from 'leaflet-irregular-channel';
or irregularChannel require('leaflet-irregular-channel');
  const data = [
    {
      lat: 24.43683529482618, 
      lng: 118.04363250732423,
      widthLeft: 0,
      widthRight: 0
    },
    {
      lat: 24.396507684805687, 
      lng: 118.12808990478517,
      widthLeft: 200,
      widthRight: 100
    },
    {
      lat: 24.473400349324073,
      lng: 118.21907043457033,
      widthLeft: 100,
      widthRight: 200
    } 
  ]
  let channelInstance = irregularChannel(data, map);
1.2.1

2 years ago

1.2.0

2 years ago

1.1.9

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago