Open atsepkov opened 7 years ago
Great Idea @atsepkov .
Can you contribute?
+1
it'll be nice if we can put the map-marker icon
I'll dig a bit these days on how to implement it. any suggestions are welcomed
this is a result of how it might be. Btw, it needs some improvement, but what I know for sure is that proceeding in that direction will have some drawbacks:
.. svgs could solve that issue as well ..
I noticed that you introduced square icons to your fork, something that wasn't available in the original version. However, it seems like both versions have the same limitation in number of colors being limited due to the fact that markers are rendered from sprites. This limitation, however, does not exist for the foreground icons, which use fonts.
What if instead of using sprites, the library would define the background marker as a font as well (currently with 2 marker types: round and square) and render it behind behind the foreground icon via css? That way the user can use any of the 16 million available colors for the background.