blob: 717adc7f5f27de52ea23c20dce258be2a79724fd (
plain) (
blame)
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
|
<html>
<head>
<meta name="viewport"content="initial-scale=1.0, user-scalable=no"/>
{{ templates/index.css }}
</head>
<body>
<div id="map_canvas"></div>
<form id="path-form">
<div class="row" >
<div class="col">
Place marker for:
<div>
<input type="radio" name="marker-point" id="marker-point-start" checked="true" />
<label for="marker-point-start">Start</label>
</div>
<div>
<input type="radio" name="marker-point" id="marker-point-end" />
<label for="marker-point-end">Destination</label>
</div>
</div>
<div class="col">
<div>
<label for="lat1">Start lat:</label>
<input name="lat1" id="lat1" />
</div>
<div>
<label for="lng1">Start lng:</label>
<input name="lng1" id="lng1" />
</div>
</div>
<div class="col">
<div>
<label for="lat2">End latitude:</label>
<input name="lat2" id="lat2" />
</div>
<div>
<label for="lng2">End longitude:</label>
<input name="lng2" id="lng2" />
</div>
</div>
<input type="submit" />
</div>
</form>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=REPLACE_WITH_YOUR_API_KEY&sensor=false"></script>
{{ templates/index.js }}
</body>
</html>
|