grinat / leaflet-simple-map-screenshoter

Leaflet plugin which take screenshot of map
MIT License
71 stars 19 forks source link

Screenshot with map CRS on simple ? #23

Closed cavasinf closed 2 years ago

cavasinf commented 2 years ago

Issue

Using Leaflet in CRS simple, looks like it's messing with the screenshot.

Steps to Reproduce

map = new L.Map('myMap', {
        crs: L.CRS.Simple,
        zoomControl: false,
    });

L.simpleMapScreenshoter().addTo(map)
  1. Make a Polygon
  1. Use the screenshot button
  2. Cry with the result

Environment