-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathStarterTemplate.html
39 lines (28 loc) · 1.04 KB
/
StarterTemplate.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<html>
<head>
<title>MaptimeStarterMap</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
<style>
#map {
width: 900px;
height: 500px;
}
</style>
</head>
<h1>Maptime Starter Map</h1>
<body>
<div id="map"></div>
<script>
var map = L.map('map').setView([53.5444, -113.4909], 10);
var CartoDB_DarkMatter = L.tileLayer('http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png', {
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> © <a href="http://cartodb.com/attributions">CartoDB</a>'
, subdomains: 'abcd'
, maxZoom: 19
}).addTo(map);
var edmontonMarker = L.marker([53.5444, -113.4909]).addTo(map);
edmontonMarker.bindPopup("Edmonton, Alberta");
</script>
</body>
<p>This is a map made by #MaptimeYEG</p>
</html>