forked from austinpetsalive/ampa-wmt-rto-hackathon
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathresultspage.html
117 lines (80 loc) · 4.94 KB
/
resultspage.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>
L_NO_TOUCH = false;
L_DISABLE_3D = false;
</script>
<style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}</style>
<style>#map {position:absolute;top:0;bottom:0;right:0;left:0;}</style>
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.6.0/dist/leaflet.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.6.0/dist/leaflet.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
#map_98f9fd5f0ff6e04a5075aea4447a038b {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
</style>
</head>
<body>
<div class="folium-map" id="map_98f9fd5f0ff6e04a5075aea4447a038b" ></div>
</body>
<script>
var map_98f9fd5f0ff6e04a5075aea4447a038b = L.map(
"map_98f9fd5f0ff6e04a5075aea4447a038b",
{
center: [45.372, -121.6972],
crs: L.CRS.EPSG3857,
zoom: 12,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_f58216953c12247fe83615c3f90a7ba5 = L.tileLayer(
"https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.jpg",
{"attribution": "Map tiles by \u003ca href=\"http://stamen.com\"\u003eStamen Design\u003c/a\u003e, under \u003ca href=\"http://creativecommons.org/licenses/by/3.0\"\u003eCC BY 3.0\u003c/a\u003e. Data by \u0026copy; \u003ca href=\"http://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e, under \u003ca href=\"http://creativecommons.org/licenses/by-sa/3.0\"\u003eCC BY SA\u003c/a\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
).addTo(map_98f9fd5f0ff6e04a5075aea4447a038b);
var marker_3b8cf46edd206a22c049376d2252d1e5 = L.marker(
[45.3288, -121.6625],
{}
).addTo(map_98f9fd5f0ff6e04a5075aea4447a038b);
var popup_6996f2d02a84a4cfb7e95eadde01ce95 = L.popup({"maxWidth": "100%"});
var html_d952df9ca776a71ea6775c03fa18d920 = $(`<div id="html_d952df9ca776a71ea6775c03fa18d920" style="width: 100.0%; height: 100.0%;"><i>Mt. Hood Meadows</i></div>`)[0];
popup_6996f2d02a84a4cfb7e95eadde01ce95.setContent(html_d952df9ca776a71ea6775c03fa18d920);
marker_3b8cf46edd206a22c049376d2252d1e5.bindPopup(popup_6996f2d02a84a4cfb7e95eadde01ce95)
;
marker_3b8cf46edd206a22c049376d2252d1e5.bindTooltip(
`<div>
Click me!
</div>`,
{"sticky": true}
);
var marker_1790a84943555b56a151e787b621cc68 = L.marker(
[45.3311, -121.7113],
{}
).addTo(map_98f9fd5f0ff6e04a5075aea4447a038b);
var popup_285fd76f4f1f5a2f417aeeb0eaaf3b39 = L.popup({"maxWidth": "100%"});
var html_b2c1f4eba39272c533385068254dfecb = $(`<div id="html_b2c1f4eba39272c533385068254dfecb" style="width: 100.0%; height: 100.0%;"><b>Timberline Lodge</b></div>`)[0];
popup_285fd76f4f1f5a2f417aeeb0eaaf3b39.setContent(html_b2c1f4eba39272c533385068254dfecb);
marker_1790a84943555b56a151e787b621cc68.bindPopup(popup_285fd76f4f1f5a2f417aeeb0eaaf3b39)
;
marker_1790a84943555b56a151e787b621cc68.bindTooltip(
`<div>
Click me!
</div>`,
{"sticky": true}
);
</script>