leaflet-easyPrint
leaflet-easyPrint copied to clipboard
when map is exported - the marker label text shrinks
Hi,
When I exported the map the marker label text shrinks. Can you please help me how can I fix it? Thanks

I am Also experiencing same error, can anyone help.
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?
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: '
' }); var labelPos = _that.map.unproject(point, 20); L.marker(labelPos, { icon: domIcon }).addTo(_that.map);
one more thing I am also getting unexpected token : in bundle.js.map file. Can you please help with that. I have tried getting source and NPM package as well but both files give an error.