Skip to content

Instantly share code, notes, and snippets.

@radbasa
Created June 16, 2013 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radbasa/5792330 to your computer and use it in GitHub Desktop.
Save radbasa/5792330 to your computer and use it in GitHub Desktop.
<html>
<head>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.css" />
<style media="screen" type="text/css">
#map {height: 280px; }
</style>
</head>
<body>
<script src="http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.js"></script>
<script type="text/javascript">
var map = L.map('map').setView([51.505, -0.09], 13);
/*
var map = L.map('map', {
center: [51.505, -0.09],
zoom: 13
});
*/
</script>
<div id="map"></div>
</body>
</html>
Results in
TypeError: e is null
http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.js
Line 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment