Commit graph

173 commits

Author SHA1 Message Date
Eugene Burmakin
38573e703e Move base maps to a separate file 2025-02-15 17:42:10 +01:00
Eugene Burmakin
aaa3c77162 Inherit all stimulus controllers from base_controller 2025-02-15 16:48:03 +01:00
Eugene Burmakin
51e589e17f Implement map tiles usage tracking and chart in user settings. 2025-02-13 21:04:29 +01:00
Evgenii Burmakin
f924bb9f82
Merge pull request #851 from chnikel/fix/Fog-of-War-overlay-gets-displaced-when-dragging-map
Fix fog gets displaced when dragging map
2025-02-13 20:25:05 +01:00
Eugene Burmakin
b2e6a141fc Rehash paths and add tests 2025-02-11 21:04:12 +01:00
Eugene Burmakin
1580fb8ade Export map tiles usage to Prometheus 2025-02-11 20:45:36 +01:00
Christian Nikel
01fd9f6e35 Fix fog gets displaced when dragging map
Also recalculates the size of the fog when resizing the browser window.

Closes #774
2025-02-11 00:12:01 +00:00
Eugene Burmakin
0b362168c9 Implement custom map tiles and user settings with default values 2025-02-10 20:37:20 +01:00
Eugene Burmakin
1f6d711ccf Don't log apiKey in handleAreaCreated 2025-02-08 23:01:32 +01:00
Eugene Burmakin
0b08af87af Clean up some code 2025-02-08 23:00:34 +01:00
Evgenii Burmakin
d101d5e544
Merge branch 'master' into dev 2025-02-08 22:53:58 +01:00
Eugene Burmakin
3a555065d3 Make popups a bit nicer 2025-02-08 12:08:01 +01:00
Eugene Burmakin
51724db874 Remove test circle 2025-02-07 21:19:34 +01:00
Eugene Burmakin
ffee59b7c3 Fix deleting an area 2025-02-07 21:17:38 +01:00
Eugene Burmakin
dd48ef4177 Implement area clicks 2025-02-07 21:08:31 +01:00
Eugene Burmakin
fea87b85bb Add docs and few fixes 2025-02-07 19:17:28 +01:00
Evgenii Burmakin
41da68a4c8
Revert "Fix deleting points" 2025-02-06 22:24:53 +01:00
Eugene Burmakin
0a27dfefbe Fix deleting points 2025-02-06 20:08:14 +01:00
Eugene Burmakin
5bd6a6c072 Don't trim time from start and end dates 2025-01-24 16:37:28 +01:00
Eugene Burmakin
6e9c981329 Fix photos fetching with trip dates 2025-01-24 15:35:35 +01:00
Eugene Burmakin
401ac8ca31 Use path instead of coordinates on trips#index 2025-01-24 15:19:05 +01:00
Eugene Burmakin
380dd9235d Calculate path and distance before saving trip 2025-01-24 15:03:57 +01:00
Eugene Burmakin
1e7efbc9af Render trips using precalculated paths instead of list of coordinates 2025-01-24 14:54:10 +01:00
Eugene Burmakin
7db7fb17d5 Add path to trips 2025-01-24 12:01:54 +01:00
Eugene Burmakin
9970d63134 Return scale and stats controls to map 2025-01-20 11:46:57 +01:00
Eugene Burmakin
0e5381c16f Fix fog of war console error 2025-01-20 11:41:45 +01:00
Eugene Burmakin
a50e9f664a Highlight route on click 2025-01-20 11:26:52 +01:00
Eugene Burmakin
70caaef9b5 Remove console logs 2025-01-19 18:06:56 +01:00
Eugene Burmakin
3ba42dceaf Highlight on hover 2025-01-19 18:05:21 +01:00
Eugene Burmakin
64b141fa24 Highlight routes again 2025-01-19 17:49:11 +01:00
Eugene Burmakin
94e08d56e1 Fix point updating in the database 2025-01-19 17:14:09 +01:00
Eugene Burmakin
f85fd9e4d0 Implement polylines redraw on point drag 2025-01-19 12:59:12 +01:00
Eugene Burmakin
5a031dad69 Implement drag and drop for points 2025-01-19 11:26:38 +01:00
Eugene Burmakin
e25d6f05e2 Extract fog of war to a separate file 2025-01-14 23:29:48 +01:00
Eugene Burmakin
e457631715 Use canvas for map 2025-01-14 23:23:46 +01:00
Eugene Burmakin
4fc8992f73 Rename Polylines to Routes in the interface 2025-01-13 22:05:25 +01:00
Eugene Burmakin
cebc4950e6 Add info modal for speed colored polylines 2025-01-13 21:57:19 +01:00
Eugene Burmakin
cd7cf8c4bb Return distance and points number in the custom control to the map 2025-01-13 21:30:08 +01:00
Eugene Burmakin
1c9667d218 Optimize polylines color update 2025-01-13 21:21:04 +01:00
Eugene Burmakin
7a83afd857 Speed up polylines coloring 2025-01-13 21:10:49 +01:00
Eugene Burmakin
216727b9e7 Fix polylines color update when settings updated 2025-01-13 21:04:18 +01:00
Eugene Burmakin
badeff3d0a Enable or disable speed colored polylines 2025-01-13 20:34:57 +01:00
Eugene Burmakin
2e18b35e3c Add settings for speed-colored polylines 2025-01-11 00:42:44 +01:00
Eugene Burmakin
43e4e8d81a Color polylines based on speed 2025-01-10 23:03:07 +01:00
Eugene Burmakin
73fc9be3fb Fix inconsistent password for the dawarich_db service in docker-compose_mounted_volumes.yml. 2025-01-07 14:31:06 +01:00
Eugene Burmakin
d9bade8fe5 Fix specs for watcher and change z-index for markers and polylines 2024-12-25 13:05:42 +01:00
Eugene Burmakin
0276882db1 Start reverse geocoding after import is finished 2024-12-25 12:38:32 +01:00
Evgenii Burmakin
4870e7718d
Merge pull request #564 from whimsical-c4lic0/fix/incorrect-locale-on-map-popup
Update map popup to format dates with the locale from the browser
2024-12-20 16:48:04 +01:00
Eugene Burmakin
6bdb103814 Expand map borders for New Zealanders 2024-12-20 16:11:46 +01:00
whimsical-c4lic0
b9d3ac9bb0 Set en-GB as the fallback locale 2024-12-19 12:50:08 -06:00