Skip to content

Instantly share code, notes, and snippets.

@aaronlidman
Created November 16, 2012 04:55
Show Gist options
  • Save aaronlidman/4084217 to your computer and use it in GitHub Desktop.
Save aaronlidman/4084217 to your computer and use it in GitHub Desktop.
default osm style playground
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4/leaflet.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4/leaflet.ie.css" />
<![endif]-->
<script src="http://cdn.leafletjs.com/leaflet-0.4/leaflet.js"></script>
<style type="text/css">
html, body, #map {width: 100%; height: 100%; margin: 0;}
</style>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
var map = new L.Map('map');
map.setView(new L.LatLng(33.7125, -117.9499), 11)
map.addLayer(new L.TileLayer('http://184.106.154.200/output/{z}/{x}/{y}.png'));
map.attributionControl.setPrefix('');
</script>
</body>
</html>​
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment