leaflet-easyPrint icon indicating copy to clipboard operation
leaflet-easyPrint copied to clipboard

when map is exported - the marker label text shrinks

Open hetallccy opened this issue 7 years ago • 4 comments

Hi,

When I exported the map the marker label text shrinks. Can you please help me how can I fix it? Thanks

exportedmap

hetallccy avatar Jun 05 '18 05:06 hetallccy

I am Also experiencing same error, can anyone help.

sandeepgadhwal avatar Jun 15 '18 08:06 sandeepgadhwal

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?

rowanwins avatar Jun 27 '18 23:06 rowanwins

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);

hetallccy avatar Jul 19 '18 04:07 hetallccy

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.

unexpected token

hetallccy avatar Jul 19 '18 05:07 hetallccy