New Parallax Map Markers


Leaflet.Parallax.Marker is a plug-in for Leaflet.js that allows yous to create map markers amongst a parallax effect. The plug-in makes the markers move, when yous pan the map, at a unlike speed to the basemap.

Leaflet.Parallax.Marker comes amongst 2 demo maps. One shows the parallax consequence added to house labels. Four unlike sizes of house labels are used inwards the demo. Each of the 4 unlike sized labels is given a unlike 'parallax offset' in addition to then that they look to deed independently of each over. The termination is that the house labels accept a parallax consequence inwards relation to the basemap.

The 2d demo uses clouds every bit the map markers. This creates a map amongst clouds that look to float over the basemap when yous pan around.
Buat lebih berguna, kongsi:
close