Leaflet.awesome-markers
Leaflet.awesome-markers copied to clipboard
source file for icon sprites
Are you able to make available the source files for the PNG icon sprites?
Perhaps you have an SVG version? Currently it is very hard to add new colours.
Vote up on this
Another vote up on this, need higher res sprites for XXHDPI Android devices
I would want that too =). Related to #22.
Actually, only one marker icon is needed for each style =).
I'm sorry but the source file is lost. It's quite easy to create the file again, i will do that when i have more time on my hands. In the mean time, if anyone feels compelled to do this then i'm happy to do accept a pull request
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="72" height="92">
<defs>
<filter id="innershadow">
<feGaussianBlur in="SourceAlpha" stdDeviation="6" result="blur"/>
<feOffset dy="0" dx="0"/>
<feComposite in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowDiff"/>
<feFlood flood-color="black" flood-opacity="0.2"/>
<feComposite in2="shadowDiff" operator="in"/>
<feComposite in2="SourceGraphic" operator="over"/>
</filter>
</defs>
<path fill="#ff0"
d="M 7,35 C 7,15 24,6 36,6 48,6 65,15 65,35 65,43 61,49 56,58 51,67 42,79 36,86.4 30,79 21,67 16,58 11,49 7,43 7,35 z"
transform="translate(-1,0)"
filter="url(#innershadow)" />
</svg>
The shadow could be improved. The tip should be 1px wide on 1x and 2x resolutions.
Edit: I'm wrong about the tip. Someone should probably fix it to allow precise placement.