Skip to content
Draws a Bézier line between two points with an animated flight object.
Branch: master
Clone or download
Latest commit 585b8dc Feb 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo dev Mar 29, 2018
src icon classes Feb 4, 2019
.gitignore npm setup Mar 29, 2018
.npmignore Remove .idea folder npm Mar 30, 2018
README.md Fixed small errors Mar 29, 2018
index.html dev Feb 7, 2018
logo.png readme Mar 29, 2018
package.json
yarn.lock icon classes Feb 4, 2019

README.md

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

You can’t perform that action at this time.