Files
leaflet/docs/examples/extending-1-classes/class-diagram.md
chcederquist 9b89ab4eb5 Updated title and descriptions of docs (#9692)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-05-09 18:47:17 +02:00

602 B

layout, title, css
layout title css
tutorial_frame Leaflet Class Diagram #map { width: 100vw; height: 100%; }
<script type="module"> import L, {Map, CRS, ImageOverlay} from 'leaflet'; const bounds = 0, 0], [1570, 1910; const map = new Map('map', { crs: CRS.Simple, maxZoom: 0, minZoom: -4, maxBounds: bounds }); const image = new ImageOverlay('class-diagram.png', bounds).addTo(map); map.fitBounds(bounds); globalThis.L = L; // only for debugging in the developer console globalThis.map = map; // only for debugging in the developer console </script>