forked from schoenfr/webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
84 lines (69 loc) · 2.86 KB
/
index.html
File metadata and controls
84 lines (69 loc) · 2.86 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta>
<title>Green Navigation</title>
<link rel="import" href="css/theme.html">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="libs/webcomponentsjs/webcomponents.js"></script>
<link rel="import" href="components/gn-ui-footer.html">
<link rel="import" href="libs/gn-map/gn-map.html">
<link rel="import" href="libs/gn-map/gn-poly.html">
<link rel="import" href="libs/gn-map/gn-point.html">
<link rel="import" href="libs/gn-api/gn-api.html">
<link rel="import" href="libs/iron-flex-layout/classes/iron-flex-layout.html">
<link rel="import" href="libs/iron-pages/iron-pages.html">
<link rel="import" href="libs/iron-icons/iron-icons.html">
<link rel="import" href="libs/iron-icons/maps-icons.html">
<link rel="import" href="libs/paper-button/paper-button.html">
<link rel="import" href="libs/paper-input/paper-input.html">
<link rel="import" href="libs/paper-card/paper-card.html">
<link rel="import" href="libs/paper-dialog-scrollable/paper-dialog-scrollable.html">
<link rel="import" href="libs/paper-dialog/paper-dialog.html">
<link rel="import" href="libs/paper-drawer-panel/paper-drawer-panel.html">
<link rel="import" href="libs/paper-header-panel/paper-header-panel.html">
<link rel="import" href="libs/paper-icon-button/paper-icon-button.html">
<link rel="import" href="libs/paper-menu-button/paper-menu-button.html">
<link rel="import" href="libs/paper-menu/paper-menu.html">
<link rel="import" href="libs/paper-scroll-header-panel/paper-scroll-header-panel.html">
<link rel="import" href="libs/paper-styles/paper-styles.html">
<link rel="import" href="libs/paper-toolbar/paper-toolbar.html">
</head>
<body class="fullbleed">
<template is="dom-bind" id="bind">
<gn-api route="{{ route }}" range="{{ range }}"></gn-api>
<div class="fit vertical layout">
<paper-card id="menu">
<div class="card-content">
<paper-input label="from"></paper-input>
<paper-input label="to"></paper-input>
</div>
<div class="card-actions">
<paper-icon-button icon="chevron-left"></paper-icon-button>
<div class="right">
<paper-icon-button
icon="maps:directions"
onclick="document.querySelector('gn-api').getRoute()">
</paper-icon-button>
</div>
</div>
</paper-card>
<gn-map class="flex"
longitude="11.15"
latitude="48.12"
zoom="15"
map-type="OpenStreetMap">
<gn-poly>
<template is="dom-repeat" items="{{ route.route }}">
<gn-point
latitude="{{ item.latitude }}"
longitude="{{ item.longitude }}">
</gn-point>
</template>
</gn-poly>
</gn-map>
<gn-ui-footer></gn-ui-footer>
</div>
</template>
</body>
</html>