Leaflet/docs/examples/crs-simple/crs-simple-example1.md
2016-08-18 11:27:28 +02:00

17 lines
259 B
Markdown

---
layout: tutorial_frame
title: CRS.Simple example
---
<script>
var map = L.map('map', {
crs: L.CRS.Simple
});
var bounds = [[0,0], [1000,1000]];
var image = L.imageOverlay('uqm_map_full.png', bounds).addTo(map);
map.fitBounds(bounds);
</script>