Skip to content

Instantly share code, notes, and snippets.

@theel0ja
Last active June 11, 2017 16:58
Show Gist options
  • Save theel0ja/0ccbdccd103252e1484faad47ecbe54f to your computer and use it in GitHub Desktop.
Save theel0ja/0ccbdccd103252e1484faad47ecbe54f to your computer and use it in GitHub Desktop.
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-07I2e+7D8p6he1SIM+1twR5TIrhUQn9+I6yjqD53JQjFiMf8EtC93ty0/5vJTZGF8aAocvHYNEDJajGdNx1IsQ=="
crossorigin=""/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-A7vV8IFfih/D732iSSKi20u/ooOfj/AGehOKq0f4vLT1Zr2Y+RX7C+w8A1gaSasGtRUZpF/NZgzSAu4/Gc41Lg=="
crossorigin=""></script>
<div id="map"></div>
<style>
#map {
height: 1024px;
}
</style>
<script>
var map = L.map('map').setView([60.1015, 24.5613], 13);
L.tileLayer('http://tiles.kartat.kapsi.fi/taustakartta/{z}/{x}/{y}.jpg', {
attribution: 'Maanmittauslaitos'
}).addTo(map);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment