-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (35 loc) · 1.19 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Ionic Leaflet Map Example</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- partial:index.partial.html -->
<html ng-app="ionic.example">
<head>
<meta charset="utf-8">
<title>Leaflet Map Example</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<link href="//code.ionicframework.com/nightly/css/ionic.css" rel="stylesheet">
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" />
<script src="//code.ionicframework.com/nightly/js/ionic.bundle.js"></script>
<script src="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js"></script>
</head>
<body ng-controller="MapCtrl">
<ion-header-bar class="bar-energized">
<h1 class="title">Leaflet Map Example </h1>
</ion-header-bar>
<ion-content>
<div id="map" data-tap-disabled="true"></div>
</ion-content>
<ion-footer-bar class="bar-energized">
<a ng-click="centerOnMe()" class="button button-icon icon ion-location"> Where am I?</a>
</ion-footer-bar>
</body>
</html>
<!-- partial -->
<script src="./script.js"></script>
</body>
</html>