Skip to content

ianwcarlson/Leaflet.SmoothMarkerTransition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaflet.SmoothMarkerTransition

Plugin for Leaflet that extends the basic marker and whenever position is updated the marker will use CSS transition to move to the new position. This repo is highly inspired by this Leaflet plugin.

This type of animation is good for real-time mapping applications that update GPS coordinates at regular intervals. Without the animation, the markers have stuttered movement.

For more about Leaflet

Running Demo

To run the example app locally:

  • Install Node
  • Install Git
  • Git clone this repo git clone https://github.com/ianwcarlson/Leaflet.SmoothMarkerTransition in your development directory
  • Navigate to new project file and Install NPM packages
npm install
  • Start server
node example/server.js
  • Open a browser up to localhost:3698

About

[Unsupported] Just extends basic marker and whenever position is updated the marker will use CSS transition to move to new position

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published