Leaflet/docs/examples/extending/class-diagram.md

25 lines
413 B
Markdown

---
layout: tutorial_frame
title: Leaflet class diagram
css: "#map {
width: 100vw;
height: 100%;
}"
---
<script type='text/javascript'>
var bounds = [[0,0], [1570,1910]];
var map = L.map('map', {
crs: L.CRS.Simple,
maxZoom: 0,
minZoom: -4,
maxBounds: bounds
});
var image = L.imageOverlay('class-diagram.png', bounds).addTo(map);
map.fitBounds(bounds);
</script>