![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGngEgAU5RxNWWo4qUZMdoAOyP4CdzE7Tv_-2gxi4gYMpdkp2v4dgJ3vAmOvJaqgWKflFo6yaBrOmu8mHOuW0dmsmvOZSyeQRHPbfmwnPewk0p6q_VsIZaON71JBTI4xFOgudrtVt3KsHU/s523/mapsmania2.gif)
Leaflet.Parallax.Marker is a plug-in for Leaflet.js that allows yous to create map markers alongside a parallax effect. The plug-in makes the markers move, when yous pan the map, at a dissimilar speed to the basemap.
Leaflet.Parallax.Marker comes alongside 2 demo maps. One shows the parallax outcome added to house labels. Four dissimilar sizes of house labels are used inwards the demo. Each of the 4 dissimilar sized labels is given a dissimilar 'parallax offset' together with then that they seem to deed independently of each over. The outcome is that the house labels accept a parallax outcome inwards relation to the basemap.
The instant demo uses clouds every bit the map markers. This creates a map alongside clouds that seem to float over the basemap when yous pan around.