-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.html
43 lines (37 loc) · 1.26 KB
/
index.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
40
41
42
43
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>Leaflet example</title>
<!-- include leaflet css and javascript -->
<link rel="stylesheet" crossorigin=""
href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<script src="https://unpkg.com/[email protected]/dist/leaflet-src.js"
crossorigin=""></script>
<!-- include our own css -->
<link rel="stylesheet" href="leaflet-example.css" />
<!-- we include the javascript at the bottom, see below -->
</head>
<body>
<h1><a href="http://leafletjs.com/">Leaflet</a> example in one file</h1>
<p>
This is the html template for a <a href="http://leafletjs.com/">leaflet</a>
map. CSS and Javascript
are in different files. For a self-contained one-file-version see
<a href="one-file.html">one-file.html</a>. For a leaflet map without
Javascript programming try
<a href="https://lapizistik.github.io/leaflet-easymap/">Leasymap</a>.
</p>
<p>
Find the <a href="https://github.com/Lapizistik/leaflet-examples">source
code on Github</a>.
</p>
<p>
The one important thing is that the #map div needs a <em>height</em>
to be visible.
</p>
<div id="map"></div>
<!-- include our own javascript -->
<script src="leaflet-example.js"></script>
</body>
</html>