Skip to content

Instantly share code, notes, and snippets.

@nighto
Created March 18, 2016 16:39
Show Gist options
  • Save nighto/48bce50f8ea4fa3e73dc to your computer and use it in GitHub Desktop.
Save nighto/48bce50f8ea4fa3e73dc to your computer and use it in GitHub Desktop.
Leaflet.js bootstrap
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" />
<style>
body {
padding: 0;
margin: 0;
}
html, body, #map {
height: 100%;
}
</style>
</head>
<body>
<div id="map"></div>
<script src="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js"></script>
<script src="script.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment