jieter/leaflet-headless

Render some sort of labels

mmarcon opened this issue · 2 comments

I'd be interested in showing labels at some given points, rather than showing markers. As expected, DivIcons don't work. Is there any other way to render some simple text labels in the map?

Would be nice, but I think it would require a custom implementation of a canvas label + adding some logic to leaflet-image to make sure those labels make it to the rendered image. Feel free to open a PR if you find a solution.

That is what I thought.