block by NPashaP 7f30ff733c7a51edae086dfe7ec16e0a

Leaflet - marker

Full Screen

index.html

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	
    <link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css"/>
    <script src="https://unpkg.com/leaflet@1.0.3/dist/leaflet.js"></script>
	<style>
	*{
		margin:0;
	}
	#map {
		width: 100vw;
		height: 100vh;
	}
	</style>	
</head>
<body>
<div id='map'></div>
<script src="//vizjs.org/viz.v1.3.0.min.js"></script>
<script>	
	var map = L.map('map',{	center: [37, -96],zoom: 5	});

	L.tileLayer(viz.leaflet.tiles.OpenStreetMap.WorldStreet, {
		attribution: viz.leaflet.tiles.OpenStreetMap.attribution
	}).addTo(map);	
	
	L.marker([37, -96]).addTo(map);
	
</script>
</body>
</html>