-
Notifications
You must be signed in to change notification settings - Fork 2
/
sample.html
49 lines (45 loc) · 1.64 KB
/
sample.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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<link rel="stylesheet" href="bower_components/leaflet-dist/leaflet.css">
<style>
#map {
min-width: 300px;
min-height: 300px
}
</style>
<script src='https://maps.googleapis.com/maps/api/js?sensor=false' type='text/javascript'></script>
<script src='bower_components/jquery/jquery.js' type='text/javascript'></script>
<script src='bower_components/leaflet-dist/leaflet-src.js' type='text/javascript'></script>
<script src='bower_components/handlebars/handlebars.js' type='text/javascript'></script>
<script src='bower_components/ember/ember.js' type='text/javascript'></script>
<script src='bower_components/ember-data/ember-data.js' type='text/javascript'></script>
<script src='bower_components/ember-leaflet/ember-leaflet.js' type='text/javascript'></script>
<script src='bower_components/leaflet-plugins/layer/tile/Google.js' type='text/javascript'></script>
<script src='application.js' type='text/javascript'></script>
<title>
EmberLeaflet Example
</title>
</head>
<body id='container'>
<header>
<h1>EmberLeaflet Example</h1>
</header>
<div id='main'>
<script type="text/x-handlebars" data-template-name="application">
{{outlet}}
</script>
</div>
<script type="text/x-handlebars" data-template-name="places">
<div id="map-container" style="max-width: 400px;">
{{view App.MapView
id="map"
zoomBinding="zoom" centerBinding="center"}}
</div>
</script>
</body>
<script>
App.advanceReadiness();
</script>
</html>