I am using Html2canvas to capture images from a map viewer and Leaflet to add custom icon marker. The origin of the marker is at the top-left corner so when it is added to the map, the geographic coordinates of the point is in the origin point of the marker:
I have edited .leaflet-marker-icon in leaflet.css :
.leaflet-marker-icon{ position: absolute; left: 0px; top: -20px; } to move marker icon up,but this is the screen capture result:
It is possible to move up the container of the icon?
Thanks in advance
أكثر...

I have edited .leaflet-marker-icon in leaflet.css :
.leaflet-marker-icon{ position: absolute; left: 0px; top: -20px; } to move marker icon up,but this is the screen capture result:

It is possible to move up the container of the icon?
Thanks in advance
أكثر...