forked from cylindricalcow/physics_hackathon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdd_map.html
More file actions
97 lines (74 loc) · 3.76 KB
/
Copy pathdd_map.html
File metadata and controls
97 lines (74 loc) · 3.76 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
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>L_PREFER_CANVAS = false; L_NO_TOUCH = false; L_DISABLE_3D = false;</script>
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.2.0/dist/leaflet.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.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.2.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://rawgit.com/python-visualization/folium/master/folium/templates/leaflet.awesome.rotate.css" />
<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>
<style> #map_c5a95fd8ee7d4d0f9213c391a1970614 {
position : relative;
width : 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
</style>
</head>
<body>
<div class="folium-map" id="map_c5a95fd8ee7d4d0f9213c391a1970614" ></div>
</body>
<script>
var bounds = null;
var map_c5a95fd8ee7d4d0f9213c391a1970614 = L.map(
'map_c5a95fd8ee7d4d0f9213c391a1970614',
{center: [40.11,-88.2272],
zoom: 18,
maxBounds: bounds,
layers: [],
worldCopyJump: false,
crs: L.CRS.EPSG3857
});
var tile_layer_97ed95abd0234a82bb7ec463f7ad7de6 = L.tileLayer(
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{
"attribution": null,
"detectRetina": false,
"maxZoom": 18,
"minZoom": 1,
"noWrap": false,
"subdomains": "abc"
}
).addTo(map_c5a95fd8ee7d4d0f9213c391a1970614);
var circle_marker_afbb8ff20ff44194848f3a5a1a467303 = L.circleMarker(
[40.11,-88.2272],
{
"bubblingMouseEvents": true,
"color": "#0A8A9F",
"dashArray": null,
"dashOffset": null,
"fill": true,
"fillColor": "#0A8A9F",
"fillOpacity": 0.2,
"fillRule": "evenodd",
"lineCap": "round",
"lineJoin": "round",
"opacity": 1.0,
"radius": 7,
"stroke": true,
"weight": 3
}
).addTo(map_c5a95fd8ee7d4d0f9213c391a1970614);
var popup_47e60822027b4c82ae2ab342fcf5f960 = L.popup({maxWidth: '300'});
var html_d6d7677b156f4cf6b059c7d8f1723bc0 = $('<div id="html_d6d7677b156f4cf6b059c7d8f1723bc0" style="width: 100.0%; height: 100.0%;">Your position</div>')[0];
popup_47e60822027b4c82ae2ab342fcf5f960.setContent(html_d6d7677b156f4cf6b059c7d8f1723bc0);
circle_marker_afbb8ff20ff44194848f3a5a1a467303.bindPopup(popup_47e60822027b4c82ae2ab342fcf5f960);
</script>