when map is exported - the marker label text shrinks
hetallccy opened this issue · comments
hetallccy commented
sandeep kumar commented
I am Also experiencing same error, can anyone help.
Rowan Winsemius commented
Hi @hetallccy & @sandeepgadhwal
Are you able to provide any details
- browser effected?
- are 3rd party leaflet plugins being used for the labels?
- can you point me to a url/jsfiddle demonstrating the issue?
hetallccy commented
Hi Rowanwins
Sorry for the late reply.
I am creating a label like as below. The issue is happening in both chrome and firefox. Chrome browser version is Version 67.0.3396.99 (Official Build) (64-bit).
var domIcon = L.divIcon({
className: 'div-icon',
html: '
' + _label + '
'});
var labelPos = _that.map.unproject(point, 20);
L.marker(labelPos, { icon: domIcon }).addTo(_that.map);
hetallccy commented