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

CRS Simple Example

Open Falke-Design opened this issue 3 years ago β€’ 1 comments

It would be good, if we have a sample with CRS-Simple Map.

The JS-Code would be:

      var map = L.map('map', {
        crs: L.CRS.Simple,
        minZoom: -2,
      });

      var bounds = [
        [0, 0],
        [1000, 1000],
      ];
      var image = L.imageOverlay(
        'https://leafletjs.com/examples/crs-simple/uqm_map_full.png',
        bounds
      ).addTo(map);

      map.fitBounds(bounds);
      map.pm.addControls();

We need someone who makes the html around it like index.html

Falke-Design avatar Oct 11 '21 15:10 Falke-Design

Very necessary

Bravo-Lin avatar Nov 29 '21 06:11 Bravo-Lin