M
M
moem2019-03-26 10:06:11
Canvas
moem, 2019-03-26 10:06:11

How to put svg marker on canvas layer in leaflet?

Hello.
Tell me, please, who knows.
Is there an accessible way (through plugins, simple code, or clever use of existing functionality) to place an svg marker on the canvas layer? Kind of like a circleMarker, just an arbitrary fixed size svg marker.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lipton_ice_tea, 2020-01-29
@lipton_ice_tea

You can use this plugin https://www.npmjs.com/package/leaflet-canvas-markers
It allows you to simply add any images to a single Canvas layer, in which circleMarker is also added

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question