pointhi / leaflet-color-markers

color variations of the standard leaflet marker
BSD 2-Clause "Simplified" License
641 stars 120 forks source link

Added the shadow image to each icon image #16

Open HandwovenBox opened 4 years ago

HandwovenBox commented 4 years ago

Not sure if this is useful to anybody else, but I needed the shadow combined with each icon.

serialc commented 1 year ago

Leaflet uses the shadow image as separate from the marker image. This way one shadow shape can be used for all marker colours. This reduces work in creating new icon colours, bandwidth by having fewer and smaller files to transfer.