geoman-io/leaflet-geoman

CRS Simple Example

オープン

#1,008 opened on 2021/10/11

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (404 件のフォーク)batch import
good first issueimprovement

Repository metrics

Stars
 (1,933 個のスター)
PR merge metrics
 (平均マージ 9d 6h) (30d で 5 merged PRs)

説明

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

コントリビューターガイド