geo-activity-playground 0.34.2__py3-none-any.whl → 0.35.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- geo_activity_playground/webui/explorer/templates/explorer/index.html.j2 +8 -6
- {geo_activity_playground-0.34.2.dist-info → geo_activity_playground-0.35.0.dist-info}/METADATA +1 -1
- {geo_activity_playground-0.34.2.dist-info → geo_activity_playground-0.35.0.dist-info}/RECORD +6 -6
- {geo_activity_playground-0.34.2.dist-info → geo_activity_playground-0.35.0.dist-info}/LICENSE +0 -0
- {geo_activity_playground-0.34.2.dist-info → geo_activity_playground-0.35.0.dist-info}/WHEEL +0 -0
- {geo_activity_playground-0.34.2.dist-info → geo_activity_playground-0.35.0.dist-info}/entry_points.txt +0 -0
@@ -34,16 +34,15 @@
|
|
34
34
|
<div class="row mb-3">
|
35
35
|
<div class="col">
|
36
36
|
<div class="btn-group mb-3" role="group">
|
37
|
-
<button type="button" class="btn btn-
|
38
|
-
<button type="button" class="btn btn-
|
39
|
-
<button type="button" class="btn btn-
|
37
|
+
<button type="button" class="btn btn-primary" onclick="changeColor('cluster')">Cluster</button>
|
38
|
+
<button type="button" class="btn btn-primary" onclick="changeColor('first')">First Visit</button>
|
39
|
+
<button type="button" class="btn btn-primary" onclick="changeColor('last')">Last Visit</button>
|
40
40
|
</div>
|
41
41
|
<div id="explorer-map" class="mb-1" style="height: 800px;"></div>
|
42
42
|
<p>Download tiles in visible area: <a href="#" onclick="downloadAs('explored.geojson')">Explored as GeoJSON</a>,
|
43
43
|
<a href="#" onclick="downloadAs('explored.gpx')"">Explored as GPX</a>, <a href=" #"
|
44
44
|
onclick="downloadAs('missing.geojson')">Missing as GeoJSON</a> or <a href="#"
|
45
45
|
onclick="downloadAs('missing.gpx')"">Missing as GPX</a>.</p>
|
46
|
-
|
47
46
|
<script>
|
48
47
|
function onEachFeature(feature, layer) {
|
49
48
|
if (feature.properties && feature.properties.first_visit) {
|
@@ -71,10 +70,11 @@
|
|
71
70
|
center: [{{ center.latitude }}, {{ center.longitude }}],
|
72
71
|
zoom: 10
|
73
72
|
})
|
74
|
-
L.tileLayer('/tile/grayscale/{z}/{x}/{y}.png', {
|
73
|
+
let tile_layer = L.tileLayer('/tile/grayscale/{z}/{x}/{y}.png', {
|
75
74
|
maxZoom: 19,
|
76
75
|
attribution: '{{ map_tile_attribution|safe }}'
|
77
|
-
})
|
76
|
+
});
|
77
|
+
tile_layer.addTo(map)
|
78
78
|
let explorer_layer_cluster_color = L.geoJSON(explorer_geojson, {
|
79
79
|
style: function (feature) {
|
80
80
|
return {
|
@@ -115,6 +115,8 @@
|
|
115
115
|
bounds = map.getBounds(); zoom = "{{ zoom }}"
|
116
116
|
window.location.href = `/explorer/${zoom}/${bounds.getNorth()}/${bounds.getEast()}/${bounds.getSouth()}/${bounds.getWest()}/${suffix}`
|
117
117
|
} </script>
|
118
|
+
<p></p><button type="button" class="btn btn-secondary btn-sm"
|
119
|
+
onclick="map.removeLayer(tile_layer)">Remove map background</button>
|
118
120
|
</div>
|
119
121
|
</div>
|
120
122
|
|
{geo_activity_playground-0.34.2.dist-info → geo_activity_playground-0.35.0.dist-info}/RECORD
RENAMED
@@ -58,7 +58,7 @@ geo_activity_playground/webui/equipment/templates/equipment/index.html.j2,sha256
|
|
58
58
|
geo_activity_playground/webui/explorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
59
59
|
geo_activity_playground/webui/explorer/blueprint.py,sha256=EKnBs8llqT6Wy1uac18dF2epp3TebF9p3iGlSbj6Vl0,2337
|
60
60
|
geo_activity_playground/webui/explorer/controller.py,sha256=pIzWh0TpLJgKQZlS325-QT7nA1q9ms7fRqQIp24PNfo,11705
|
61
|
-
geo_activity_playground/webui/explorer/templates/explorer/index.html.j2,sha256=
|
61
|
+
geo_activity_playground/webui/explorer/templates/explorer/index.html.j2,sha256=3t9ikAF6oMvEaVlS3Kb1tj9ngomIQlatzqPnqVsEDKA,6908
|
62
62
|
geo_activity_playground/webui/heatmap/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
63
63
|
geo_activity_playground/webui/heatmap/blueprint.py,sha256=ZEImDIwT3uiDIKapqCU49llvyqG79n7ZEu1GHgoLZqo,1558
|
64
64
|
geo_activity_playground/webui/heatmap/heatmap_controller.py,sha256=Qw9MGW3TFWlG2JkA_r9RHgYq4hvPiJaZeAg5D9lIFC0,7821
|
@@ -125,8 +125,8 @@ geo_activity_playground/webui/tile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
125
125
|
geo_activity_playground/webui/tile/blueprint.py,sha256=q0sw_F8L367Df01yjZijikEIglFBgg9lN61sbTAEOKQ,1018
|
126
126
|
geo_activity_playground/webui/tile/controller.py,sha256=XjUTbyAMeQET1D3mFtT8r5-xMcMOaELPZWtQ1Xp7Cuw,1428
|
127
127
|
geo_activity_playground/webui/upload_blueprint.py,sha256=topLI9ytDUFkqCc9AlOqDkjhABUwnPJ1tX_7XrBPbxc,4412
|
128
|
-
geo_activity_playground-0.
|
129
|
-
geo_activity_playground-0.
|
130
|
-
geo_activity_playground-0.
|
131
|
-
geo_activity_playground-0.
|
132
|
-
geo_activity_playground-0.
|
128
|
+
geo_activity_playground-0.35.0.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
|
129
|
+
geo_activity_playground-0.35.0.dist-info/METADATA,sha256=KhGiQyU5qPwJ05X9AexPz-FbFelLg6r11_LteCF2tnk,1573
|
130
|
+
geo_activity_playground-0.35.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
131
|
+
geo_activity_playground-0.35.0.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
|
132
|
+
geo_activity_playground-0.35.0.dist-info/RECORD,,
|
{geo_activity_playground-0.34.2.dist-info → geo_activity_playground-0.35.0.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|
File without changes
|