pablocattaneo
10/29/2018 - 1:16 PM

Init_leaflets

Init leaflets

Source: https://leafletjs.com/index.html

<div id="my-map"></div>

<style>
	#my-map {
		height: 400px;
	}
</style>

<script>
	var mymap = L.map('my-map').setView([51.505, -0.09], 13);

	L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
			attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
	}).addTo(mymap);

	L.marker([51.5, -0.09]).addTo(mymap)
			.bindPopup('A pretty CSS3 popup.<br> Easily customizable.')
			.openPopup();
</script>