In native Leaflet map, lib CRS attribute should be set as below
var mymap = L.map('mapid', {
center: [-1800, 1000],
zoom: 13,
crs: L.CRS.Simple,
minZoom: 0,
maxZoom: 13,
});
How to do that in react-leaflet, I had tried some things but nothing successful :/
<Map crs={CRS.useSimple()} center={[-1800, 1000]} zoom={13} doubleClickZoom={false} >
</Map>
But there is an error that CRS is not imported. How to import CRS?
Where do I wrong?