geo-activity-playground 1.4.0__py3-none-any.whl → 1.4.1__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/blueprints/explorer_blueprint.py +37 -37
- {geo_activity_playground-1.4.0.dist-info → geo_activity_playground-1.4.1.dist-info}/METADATA +1 -1
- {geo_activity_playground-1.4.0.dist-info → geo_activity_playground-1.4.1.dist-info}/RECORD +6 -6
- {geo_activity_playground-1.4.0.dist-info → geo_activity_playground-1.4.1.dist-info}/LICENSE +0 -0
- {geo_activity_playground-1.4.0.dist-info → geo_activity_playground-1.4.1.dist-info}/WHEEL +0 -0
- {geo_activity_playground-1.4.0.dist-info → geo_activity_playground-1.4.1.dist-info}/entry_points.txt +0 -0
@@ -302,51 +302,51 @@ def make_explorer_blueprint(
|
|
302
302
|
tile_x = x // factor
|
303
303
|
tile_y = y // factor
|
304
304
|
tile_xy = (tile_x, tile_y)
|
305
|
-
result = color_strategy.color_image(tile_xy, grayscale)
|
305
|
+
result = color_strategy.color_image(tile_xy, grayscale).copy()
|
306
306
|
|
307
307
|
if x % factor == 0:
|
308
308
|
result[:, 0, :] = 0.5
|
309
309
|
if y % factor == 0:
|
310
310
|
result[0, :, :] = 0.5
|
311
311
|
|
312
|
+
if (
|
313
|
+
evolution_state.square_x is not None
|
314
|
+
and evolution_state.square_y is not None
|
315
|
+
):
|
312
316
|
if (
|
313
|
-
|
314
|
-
and evolution_state.
|
317
|
+
x % factor == 0
|
318
|
+
and tile_x == evolution_state.square_x
|
319
|
+
and evolution_state.square_y
|
320
|
+
<= tile_y
|
321
|
+
< evolution_state.square_y + evolution_state.max_square_size
|
315
322
|
):
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
and (y + 1) // factor
|
344
|
-
== evolution_state.square_y + evolution_state.max_square_size
|
345
|
-
and evolution_state.square_x
|
346
|
-
<= tile_x
|
347
|
-
< evolution_state.square_x + evolution_state.max_square_size
|
348
|
-
):
|
349
|
-
result[-square_line_width:, :] = square_color
|
323
|
+
result[:, 0:square_line_width] = square_color
|
324
|
+
if (
|
325
|
+
y % factor == 0
|
326
|
+
and tile_y == evolution_state.square_y
|
327
|
+
and evolution_state.square_x
|
328
|
+
<= tile_x
|
329
|
+
< evolution_state.square_x + evolution_state.max_square_size
|
330
|
+
):
|
331
|
+
result[0:square_line_width, :] = square_color
|
332
|
+
if (
|
333
|
+
(x + 1) % factor == 0
|
334
|
+
and (x + 1) // factor
|
335
|
+
== evolution_state.square_x + evolution_state.max_square_size
|
336
|
+
and evolution_state.square_y
|
337
|
+
<= tile_y
|
338
|
+
< evolution_state.square_y + evolution_state.max_square_size
|
339
|
+
):
|
340
|
+
result[:, -square_line_width:] = square_color
|
341
|
+
if (
|
342
|
+
(y + 1) % factor == 0
|
343
|
+
and (y + 1) // factor
|
344
|
+
== evolution_state.square_y + evolution_state.max_square_size
|
345
|
+
and evolution_state.square_x
|
346
|
+
<= tile_x
|
347
|
+
< evolution_state.square_x + evolution_state.max_square_size
|
348
|
+
):
|
349
|
+
result[-square_line_width:, :] = square_color
|
350
350
|
else:
|
351
351
|
result = grayscale
|
352
352
|
factor = 2 ** (zoom - z)
|
@@ -71,7 +71,7 @@ geo_activity_playground/webui/blueprints/calendar_blueprint.py,sha256=SmOu5AfNNo
|
|
71
71
|
geo_activity_playground/webui/blueprints/eddington_blueprints.py,sha256=Ya5GJxfVESwmRlgMTYe9g75g8JHHTAAvYFmSD-3Uz4Q,8987
|
72
72
|
geo_activity_playground/webui/blueprints/entry_views.py,sha256=SDCzpUSb1FAb84tM0SnmrZQvtaTlO-Rqdj94hyIMDSc,2936
|
73
73
|
geo_activity_playground/webui/blueprints/equipment_blueprint.py,sha256=8L_7NZGErvu4jyigi2gg7HN_gegZRdsSFahUH7Dz6Lw,5727
|
74
|
-
geo_activity_playground/webui/blueprints/explorer_blueprint.py,sha256=
|
74
|
+
geo_activity_playground/webui/blueprints/explorer_blueprint.py,sha256=bqRG11EHJ67ZVrDVu9KhriCFihw9910fC6PuPmhFZDc,21352
|
75
75
|
geo_activity_playground/webui/blueprints/export_blueprint.py,sha256=C9yFH5gEJs2YtWE-EhcGDEyGwwaLgC1umybgIRi6duE,1036
|
76
76
|
geo_activity_playground/webui/blueprints/hall_of_fame_blueprint.py,sha256=bOJ6ejDS6rw8-GEGo1Lihn5DS6j0t9e8CbcbRi44Pts,3168
|
77
77
|
geo_activity_playground/webui/blueprints/heatmap_blueprint.py,sha256=5LlYKMeOMIE7c3xGRZ52ld4Jxtdc3GNcb6lvt3v7NVA,8435
|
@@ -174,8 +174,8 @@ geo_activity_playground/webui/templates/summary/vega-chart.html.j2,sha256=mw8Hti
|
|
174
174
|
geo_activity_playground/webui/templates/time_zone_fixer/index.html.j2,sha256=s9r6BJMXmd7kLSyjkvH4xLi6e01S5bpGRcMgMMJyCAE,1760
|
175
175
|
geo_activity_playground/webui/templates/upload/index.html.j2,sha256=I1Ix8tDS3YBdi-HdaNfjkzYXVVCjfUTe5PFTnap1ydc,775
|
176
176
|
geo_activity_playground/webui/templates/upload/reload.html.j2,sha256=YZWX5eDeNyqKJdQAywDBcU8DZBm22rRBbZqFjrFrCvQ,556
|
177
|
-
geo_activity_playground-1.4.
|
178
|
-
geo_activity_playground-1.4.
|
179
|
-
geo_activity_playground-1.4.
|
180
|
-
geo_activity_playground-1.4.
|
181
|
-
geo_activity_playground-1.4.
|
177
|
+
geo_activity_playground-1.4.1.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
|
178
|
+
geo_activity_playground-1.4.1.dist-info/METADATA,sha256=TlfR52Fp08hHZ5jDPHtHeQQ7dqcsqiUbI6aU1a94nv0,1890
|
179
|
+
geo_activity_playground-1.4.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
180
|
+
geo_activity_playground-1.4.1.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
|
181
|
+
geo_activity_playground-1.4.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{geo_activity_playground-1.4.0.dist-info → geo_activity_playground-1.4.1.dist-info}/entry_points.txt
RENAMED
File without changes
|