Skip to content

Instantly share code, notes, and snippets.

@miccferr
Created January 27, 2015 12:20
Show Gist options
  • Save miccferr/911a05127bbacb658d0c to your computer and use it in GitHub Desktop.
Save miccferr/911a05127bbacb658d0c to your computer and use it in GitHub Desktop.
maptimeMI LeafletJS tutorial, Step1 - Boilerplate code
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A simple map</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<style type="text/css" media="screen">
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
<body>
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment