Main Map: Difference between revisions

From The Lands Of Liberos Project

Content added Content deleted
No edit summary
(Replaced content with " e5e5y45")
Tag: Replaced
 
(99 intermediate revisions by the same user not shown)
Line 1: Line 1:

<syntaxhighlight lang="javascript" line="1">
e5e5y45
var map = L.map('map', {
crs: L.CRS.Simple, // CRS.Simple, which represents a square grid:
minZoom: -2,
maxZoom: 1
})
var bounds = [xy(0, 0), xy(1920, 1067)]
var image = L.imageOverlay('data/Front Page 150.png', bounds)
image.addTo(map)
</syntaxhighlight>

Latest revision as of 14:38, 27 January 2024

e5e5y45

Cookies help us deliver our services. By using our services, you agree to our use of cookies.