-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (91 loc) · 51.7 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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./mapml/lib/geojson.js"></script>
<link rel="stylesheet" href="styles.css">
<title>Dijkstra's algorithm</title>
<script type="module" src="/mapml/mapml-viewer.js"></script>
</head>
<body>
<h1>Toronto's Shortest Paths using Dijkstra's algorithm</h1>
<div class="tabcontent">
<mapml-viewer class="map" projection="OSMTILE" zoom="16" lat="43.6435" lon="-79.3824806" controls>
<layer- label="Esri Imagery" src="./labelled_imagery.mapml" hidden="hidden" checked="checked"></layer->
<layer- label="Nodes" checked=""><map-style>.point{fill: #d42254;stroke: #FFFFFF;stroke-width: 1;}.point1{fill: #36bf3a;stroke: #FFFFFF;stroke-width: 1;}</map-style><map-meta name="projection" content="OSMTILE"></map-meta><map-meta name="cs" content="gcrs"></map-meta><map-feature><map-featurecaption>33</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3742599 43.6445098</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">33</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3742599</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6445098</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>42</map-featurecaption><map-geometry><map-point><map-coordinates>-79.4014083 43.6407423</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">42</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.4014083</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6407423</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>48</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3825323 43.6452892</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">48</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3825323</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6452892</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>49</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3912375 43.6434192</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">49</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3912375</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6434192</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>50</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3702983 43.6498346</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">50</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3702983</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6498346</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>51</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3709139 43.648218</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">51</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3709139</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.648218</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>55</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3814862 43.642925</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">55</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3814862</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.642925</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>68</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3850107 43.6447656</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">68</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3850107</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6447656</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>77</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3796993 43.6473323</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">77</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3796993</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6473323</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>87</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3776314 43.6485317</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">87</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3776314</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6485317</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>91</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3902564 43.6478582</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">91</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3902564</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6478582</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>92</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3865899 43.6486472</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">92</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3865899</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6486472</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>96</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3932835 43.648416</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">96</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3932835</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.648416</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>98</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3757274 43.6474567</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">98</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3757274</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6474567</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>99</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3737753 43.6484354</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">99</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3737753</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6484354</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>105</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3931611 43.6413754</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">105</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3931611</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6413754</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>113</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3886554 43.6439841</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">113</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3886554</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6439841</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>122</map-featurecaption><map-geometry><map-point><map-coordinates>-79.39454 43.6440244</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">122</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.39454</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6440244</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>124</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3958796 43.6478404</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">124</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3958796</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6478404</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>127</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3886478 43.6482059</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">127</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3886478</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6482059</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>145</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3800937 43.6430787</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">145</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3800937</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6430787</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>153</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3866195 43.6389135</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">153</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3866195</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6389135</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>156</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3917817 43.6377686</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">156</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3917817</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6377686</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>159</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3943337 43.6373685</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">159</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3943337</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6373685</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>166</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3746696 43.6419471</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">166</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3746696</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6419471</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>179</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3921328 43.6385407</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">179</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3921328</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6385407</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>184</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3840136 43.6423843</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">184</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3840136</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6423843</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>194</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3725583 43.6449623</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">194</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3725583</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6449623</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>202</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3870255 43.639938</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">202</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3870255</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.639938</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>260</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3732834 43.6472621</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">260</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3732834</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6472621</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>261</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3716988 43.6480111</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">261</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3716988</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6480111</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>319</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3754818 43.6468895</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">319</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3754818</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6468895</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>448</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3862649 43.650819</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">448</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3862649</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.650819</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>553</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3881565 43.6470212</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">553</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3881565</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6470212</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>554</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3769687 43.6468448</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">554</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3769687</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6468448</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>565</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3777681 43.6491155</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">565</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3777681</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6491155</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>625</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3915887 43.6363897</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">625</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3915887</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6363897</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>634</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3902258 43.6374528</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">634</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3902258</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6374528</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>709</map-featurecaption><map-geometry><map-point><map-coordinates>-79.394499 43.6354719</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">709</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.394499</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6354719</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>778</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3906565 43.6490525</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">778</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3906565</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6490525</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>815</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3785368 43.6442808</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">815</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3785368</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6442808</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>827</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3759504 43.6480777</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">827</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3759504</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6480777</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>864</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3818019 43.6383702</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">864</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3818019</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6383702</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>978</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3844886 43.6432147</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">978</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3844886</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6432147</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>983</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3948176 43.6411294</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">983</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3948176</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6411294</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>990</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3780953 43.6432476</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">990</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3780953</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6432476</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>1057</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3795625 43.6425814</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">1057</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3795625</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6425814</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>1147</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3876251 43.6409814</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">1147</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3876251</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6409814</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>1258</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3956003 43.6398925</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">1258</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3956003</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6398925</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>1413</map-featurecaption><map-geometry><map-point><map-coordinates>-79.387958 43.6379837</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">1413</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.387958</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6379837</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>1487</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3910788 43.6498723</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">1487</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3910788</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6498723</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>1566</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3963175 43.6384777</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">1566</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3963175</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6384777</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>1455</map-featurecaption><map-geometry><map-point class="point1"><map-coordinates>-79.3880441 43.6426758</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">1455</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3880441</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6426758</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>1632</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3648311 43.6436002</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">1632</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3648311</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6436002</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>1665</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3709056 43.6452769</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">1665</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3709056</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6452769</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>1852</map-featurecaption><map-geometry><map-point><map-coordinates>-79.365728 43.64675</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">1852</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.365728</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.64675</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2003</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3866917 43.6380573</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2003</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3866917</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6380573</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2041</map-featurecaption><map-geometry><map-point class="point"><map-coordinates>-79.3819469 43.643485</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2041</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3819469</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.643485</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2300</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3984125 43.6403944</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2300</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3984125</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6403944</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2415</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3675911 43.6432925</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2415</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3675911</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6432925</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2568</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3813835 43.638501</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2568</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3813835</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.638501</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2616</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3823633 43.6391911</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2616</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3823633</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6391911</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2658</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3706045 43.6433826</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2658</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3706045</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6433826</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2811</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3813076 43.6480826</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2811</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3813076</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6480826</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2813</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3681947 43.6480419</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2813</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3681947</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6480419</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2965</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3939102 43.6427298</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2965</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3939102</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6427298</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2969</map-featurecaption><map-geometry><map-point><map-coordinates>-79.395044 43.6454655</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2969</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.395044</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6454655</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>2972</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3955555 43.6467525</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">2972</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3955555</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6467525</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>3042</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3834544 43.6381729</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">3042</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3834544</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6381729</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>3272</map-featurecaption><map-geometry><map-point class="point1"><map-coordinates>-79.3791406 43.64558</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">3272</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3791406</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.64558</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>3420</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3823047 43.6473264</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">3420</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3823047</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6473264</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>3848</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3765692 43.6398072</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">3848</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3765692</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6398072</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>3850</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3715015 43.6464483</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">3850</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3715015</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6464483</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>3973</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3975703 43.645042</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">3973</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3975703</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.645042</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>4012</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3735224 43.6404136</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">4012</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3735224</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6404136</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>4150</map-featurecaption><map-geometry><map-point><map-coordinates>-79.388638 43.6481836</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">4150</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.388638</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6481836</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>4251</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3835501 43.6479256</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">4251</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3835501</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6479256</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>4266</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3860644 43.6473778</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">4266</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3860644</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6473778</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>4297</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3802577 43.6486425</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">4297</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3802577</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6486425</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>4299</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3981644 43.6356385</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">4299</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3981644</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6356385</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>4465</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3695008 43.6477551</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">4465</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3695008</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6477551</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>4714</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3834006 43.6389377</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">4714</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3834006</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6389377</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>4800</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3710147 43.64128</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">4800</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3710147</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.64128</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>4827</map-featurecaption><map-geometry><map-point><map-coordinates>-79.37875 43.6386244</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">4827</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.37875</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6386244</td></tr></tbody></table></map-properties></map-feature><map-feature><map-featurecaption>4859</map-featurecaption><map-geometry><map-point><map-coordinates>-79.3688567 43.6450759</map-coordinates></map-point></map-geometry><map-properties><table><thead><tr><th role="columnheader" scope="col">Property name</th><th role="columnheader" scope="col">Property value</th></tr></thead><tbody><tr><th scope="row">id</th><td itemprop="id">4859</td></tr><tr><th scope="row">lon</th><td itemprop="lon">-79.3688567</td></tr><tr><th scope="row">lat</th><td itemprop="lat">43.6450759</td></tr></tbody></table></map-properties></map-feature></layer->
</mapml-viewer>
</div>
<div class="form">
<p>Hover on the Points above to get the node ids and insert them below (Resulting path is not directed).</p>
<p>Select Start Node: <input id="start" type="text"></p>
<p>Select End Node : <input id="end" type="text"></p>
<script>
let resultJson;
async function query (start, end) {
//console.log(start, end);
let result = await fetch(`./getpath?start=${start}&end=${end}`, {method: "GET"});
resultJson = await result.json();
//console.log(resultJson.json);
let d = length(resultJson.json.geometry);
//console.log(d);
let layer = geojson2mapml(resultJson.json);
// removing previous path
try{
document.getElementById("path").remove();
}
catch (e) {
console.log(e);
}
layer.setAttribute("id", "path");
layer.querySelector("map-multilinestring").setAttribute("class", "line");
layer.querySelector('map-featurecaption').innerHTML = d + " m";
layer.querySelector('map-properties').innerHTML = "<h2>Path " + start + " - " + end + "</h2>";
document.querySelector('mapml-viewer').insertAdjacentElement('beforeend', layer);
}
function length(geometry) {
if (geometry.type === 'LineString') {
return Math.round(calculateLength(geometry.coordinates));
}
else if (geometry.type === 'MultiLineString') {
return Math.round(geometry.coordinates.reduce(function(memo, coordinates) {
return memo + calculateLength(coordinates);
}, 0));
}
else {
return null;
}
};
function calculateLength(lineString) {
if (lineString.length<2){
return 0;
}
var result = 0;
for (var i=1; i<lineString.length; i++) {
result += distance(lineString[i-1][0],lineString[i-1][1],
lineString[i][0],lineString[i][1]);
}
return result;
};
/**
* Calculate the approximate distance between two coordinates (lat/lon)
*
* © Chris Veness, MIT-licensed,
* http://www.movable-type.co.uk/scripts/latlong.html#equirectangular
*/
function distance(λ1,φ1,λ2,φ2) {
var R = 6371000;
Δλ = (λ2 - λ1) * Math.PI / 180;
φ1 = φ1 * Math.PI / 180;
φ2 = φ2 * Math.PI / 180;
var x = Δλ * Math.cos((φ1+φ2)/2);
var y = (φ2-φ1);
var d = Math.sqrt(x*x + y*y);
return R * d;
};
</script>
<button type="button" onclick="query(document.getElementById('start').value, document.getElementById('end').value)">Find Route!</button>
</div>
</body>
</html>