Leaflet.vector-markers
Leaflet.vector-markers copied to clipboard
SVG Icon Shadow + Icon Bounce Implementation.
I have an implementation of an SVG Icon Shadow and Icon Bounce function here that was based off an older release of you VectorMarker library. VectorMarker
I am, however, not sure how implement it into your source, so I'm posting here for your reference. Hope it will help with your SVG shadow implementation.
The basic gist is using the transform
attribute on the g
svg element to skew and scale original SVG element to make it look like a shadow, and transform the svg and the containing div to realign the base of the shadow.
P.S. The source doesn't look like generic javascript, what exactly is it?