Skip to content

masteroleary/leaflet.bezier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaflet Bezier

Create bezier with leaflet

Installation

npm i leaflet.bezier --save

Usage

   L.bezier({
        path: [
            [
                {lat: 7.8731, lng: 80.7718},
                {lat: -18.7669, lng: 46.8691},
            ]
        ],

        icon: {
            path: "plane.png"
        }
    }).addTo(map);

Demo

alt text

npm run start

License

This project is licensed under the MIT License

About

Draws a Bézier line between two points with an animated flight object.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.6%
  • HTML 2.4%