leaflet-irregular-channel

1.2.1 • Public • Published

leaflet-irregular-channel

a leaflet plugin for creating a irregular channel

Requirements

* leaflet1.7.1

demo

Instructions

installing

npm install leaflet-irregular-channel -S

including

import irregularChannel from 'leaflet-irregular-channel';
or irregularChannel require('leaflet-irregular-channel');

Usage example

  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);

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.10latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.10
1.2.00
1.1.90
1.1.70
1.1.60
1.1.51
1.1.40
1.1.30
1.1.20
1.1.10
1.1.01
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10

Package Sidebar

Install

npm i leaflet-irregular-channel

Weekly Downloads

2

Version

1.2.1

License

ISC

Unpacked Size

162 kB

Total Files

6

Last publish

Collaborators

  • jacky131