-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
51 lines (49 loc) · 1.46 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
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- bootstrap -->
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="public/bootstrap-css/css/bootstrap.css" />
<link rel="stylesheet" href="public/leaflet/dist/leaflet.css">
<!-- 3rd party JS libraries -->
<script type="text/javascript" src="public/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="public/leaflet/dist/leaflet.js"></script>
<style type="text/css">
#map{
height: 500px;
}
.actions{
padding-top:20px;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="span12">
<div class="page-header">
<h1>L.Map.zoomToGeometries <small>Create map bounds out of geojson data</h1>
</div>
</div>
</div>
<div class="row">
<div class="span12">
<div id="map"></div>
</div>
</div>
</div>
<div class="container actions">
<div class="row">
<div class="span12">
<button class="btn btn-primary" id="zoomToGeometries">Zoom to geometries</button>
</div>
</div>
</div>
<script type="text/javascript" src="src/leaflet.map.zoomToGeometries.js"></script>
<script type="text/javascript" src="app.js"></script>
</body>
</html>