Commit graph

193 commits

Author SHA1 Message Date
Eugene Burmakin
41dfbfc1f4 Don't close point popup when hovering over a polyline 2024-12-16 14:27:45 +01:00
Sven Anders
a5bd75b27d On Map Point delete: Make Polyline Layer visible, if it was before 2024-12-16 12:23:02 +01:00
Eugene Burmakin
cddbace10e Cache responses from api endpoints made from the map right panel 2024-12-13 13:21:04 +01:00
Eugene Burmakin
e7c393a776 Show visited cities on map page 2024-12-11 22:00:33 +01:00
Eugene Burmakin
cab70839b9 Color buttons a bit 2024-12-11 21:21:24 +01:00
Eugene Burmakin
a1368b2e68 Add link to whole year 2024-12-11 20:41:51 +01:00
Eugene Burmakin
a4db806d29 Add togglable panel for months and years navigation 2024-12-11 20:34:49 +01:00
Eugene Burmakin
b364f33db1 Remove event handler 2024-12-11 16:23:34 +01:00
Eugene Burmakin
9713bd7afd Fix deleting points on the map 2024-12-11 16:18:40 +01:00
Evgenii Burmakin
60c8a03ce0
Merge pull request #490 from whimsical-c4lic0/fix/incorrect-distance-units-on-map-popup
Update map popup to use configured distance unit
2024-12-10 20:09:42 +01:00
Sven Anders
8a5f5883ba Add Source to thumbnail image. Perhabs a fix to #506 untested. 2024-12-09 07:58:14 +01:00
whimsical-c4lic0
32224628e7 Update map popup to use configured distance unit 2024-12-05 16:14:56 -06:00
Eugene Burmakin
be45af95fb Implement photos serializer 2024-12-02 18:21:12 +01:00
Eugene Burmakin
ce88452be0 Fix trips when Immich integration is not configured 2024-11-29 11:52:57 +01:00
Eugene Burmakin
782aeb89af Add distance calculation and trip cards to trips index 2024-11-28 15:29:17 +01:00
Eugene Burmakin
9522f81abf Move fetchAndDisplayPhotos to maps/helpers.js 2024-11-27 21:37:21 +01:00
Eugene Burmakin
5ed9b3518b Add hover reaction to photos in the map 2024-11-26 20:27:16 +01:00
Eugene Burmakin
c5044781b9 Add an active link to the photo in Immich 2024-11-26 18:03:46 +01:00
Eugene Burmakin
3c6f2e5ce3 Add loading spinner and checkmark 2024-11-26 17:36:22 +01:00
Eugene Burmakin
428e927432 Show individual photo markers on the map 2024-11-26 16:36:02 +01:00
Eugene Burmakin
130630b997 Move Immich API request to a separate service & add photos api controller 2024-11-26 14:46:26 +01:00
Eugene Burmakin
23237b6c7c Add new notification to the list right away 2024-11-07 19:00:11 +01:00
Eugene Burmakin
36cd82b240 Resubscribe to the channel when the live map is enabled 2024-11-07 13:34:22 +01:00
Eugene Burmakin
31ecedb851 Enable subscription only when Live Mode is enabled 2024-11-07 13:30:58 +01:00
Eugene Burmakin
ebee214982 Add live map enabled setting 2024-11-07 13:07:54 +01:00
Eugene Burmakin
31f0ee5eab Remove unnecessary code 2024-11-03 20:09:53 +01:00
Eugene Burmakin
d6c3a7ba03 Show popup with timestamp when new point is added 2024-11-03 19:28:33 +01:00
Eugene Burmakin
9c99a835de Implement live map updates with WebSockets 2024-11-03 16:48:43 +01:00
Eugene Burmakin
34c12a9536 Add GET /api/v1/countries/borders endpoint to get countries for scratch map feature 2024-11-01 20:49:59 +01:00
Eugene Burmakin
bc28babf15 Use local countries.geojson 2024-11-01 14:05:16 +01:00
Eugene Burmakin
dd91b581f5 Update changelog 2024-11-01 13:53:38 +01:00
Eugene Burmakin
1c62ef61b1 Disable scratch map layer by default 2024-11-01 13:43:21 +01:00
Eugene Burmakin
ef7b4c1fba Reorder js functions for scratch map a bit 2024-11-01 13:40:37 +01:00
Eugene Burmakin
db880a0d5d Add very raw scratch map 2024-11-01 13:29:24 +01:00
Eugene Burmakin
c0b0716f28 Update radio buttons 2024-10-22 12:02:12 +02:00
Eugene Burmakin
c219e7a7b4 Add points rendering mode modal 2024-10-20 20:55:43 +02:00
Eugene Burmakin
54825f0d0a Move the showFlashMessage function to the helpers.js file and export it 2024-10-20 20:32:51 +02:00
Eugene Burmakin
b4db5f9376 Move the code for handling areas, markers and polylines to separate files 2024-10-20 20:23:58 +02:00
Eugene Burmakin
d0c373b30b Use strong instead of b tag for the popup content 2024-10-20 19:06:37 +02:00
Eugene Burmakin
1a0d68ab58 Add map borders and change default timeframe on the Map page 2024-10-16 15:25:22 +02:00
Eugene Burmakin
ec793fe4aa Fix incorrect timestamps for Google Location History (mobile device) points 2024-09-30 23:31:42 +02:00
Eugene Burmakin
d517b72f69 Disable map layers from Stadia due to their requirement of an api key 2024-09-28 12:58:22 +02:00
Eugene Burmakin
548d0b0e7a Fix map not loading due to invalid tile layer name 2024-09-16 20:52:51 +02:00
Eugene Burmakin
caa77be67f Add 17 new tile layers to choose from 2024-09-15 21:04:13 +02:00
Eugene Burmakin
0ac3b025ed Merge remote-tracking branch 'origin/master' into feature/miles 2024-09-06 21:26:26 +02:00
Eugene Burmakin
740d203647 Fix a bug where the confirmation alert was shown more than once when deleting a point. 2024-09-02 23:29:37 +02:00
Eugene Burmakin
88de60517e Update route popup with the correct distance unit 2024-08-29 00:17:51 +02:00
Eugene Burmakin
9f9debdb1d Update js files to support miles 2024-08-29 00:09:04 +02:00
Eugene Burmakin
fbc5eba90a Move map settings to topleft 2024-08-28 21:34:26 +02:00
Eugene Burmakin
914ecd2f2d Remove console.log statements from maps_controller.js 2024-08-28 20:30:47 +02:00
Eugene Burmakin
df588d1e07 Move map settings to the map itself 2024-08-28 20:24:35 +02:00
Eugene Burmakin
04a2150959 Add a bunch of small changes and fixes, see CHANGELOG.md for details 2024-07-31 19:35:35 +02:00
Eugene Burmakin
1e3d9f358d Fix map areas functionality 2024-07-27 14:30:46 +02:00
Eugene Burmakin
87258df41e Fix route popup distance and add areas swagger test 2024-07-27 12:22:56 +02:00
Eugene Burmakin
254c28ae1d Make area popup look a bit nicer 2024-07-21 20:26:45 +02:00
Eugene Burmakin
151e5cf042 Add areas 2024-07-21 20:09:42 +02:00
Eugene Burmakin
4371d28ef7 Allow users to delete points from the map 2024-07-21 16:45:29 +02:00
Eugene Burmakin
66e1feaf29 Extract some code from maps_controller.js into separate files 2024-07-21 15:13:16 +02:00
Eugene Burmakin
578f46ab08 Merge branch 'master' into admin_flag 2024-07-19 20:24:07 +02:00
Eugene Burmakin
9104e612cb Convert meters to kilometers in route hover 2024-07-19 20:23:50 +02:00
Eugene Burmakin
1006606870 Fix route tooltip and map movement when hovering over a route 2024-07-19 07:55:45 +02:00
Eugene Burmakin
5b8ab3161b Remove MAP_CENTER env var 2024-06-30 13:16:19 +02:00
Eugene Burmakin
81d13f548e Add settings for radius of clear fog in meters 2024-06-25 22:30:11 +02:00
Eugene Burmakin
61431ac64f Add fog overlay 2024-06-25 21:57:22 +02:00
Eugene Burmakin
d9aea95401 Add new settings page to allow user change route rendering options 2024-06-20 23:57:00 +02:00
Eugene Burmakin
747418c854 Implement GPX imports 2024-06-19 21:16:06 +02:00
Eugene Burmakin
bff2dd012e Fix version and add link to Dawarich's website in the footer 2024-06-18 22:11:12 +02:00
Eugene Burmakin
94ae8a3c9f Add favicon and allow setting concurrency via BACKGROUND_PROCESSING_CONCURRENCY 2024-06-07 19:22:39 +02:00
Eugene Burmakin
674d87cc31 Change minutes to days and hours on route popup 2024-05-31 23:25:04 +02:00
Eugene Burmakin
12985e1fee Shorten route popup 2024-05-31 20:17:14 +02:00
Eugene Burmakin
fe73b5040a Update hovering over route to show time and distance to next and previous routes 2024-05-31 20:10:22 +02:00
Eugene Burmakin
36767ffa77 Split routes based on time as well 2024-05-30 16:22:28 +02:00
Eugene Burmakin
e235ff66b0 Add changelog and time spent on route to the popup 2024-05-30 11:56:04 +02:00
Eugene Burmakin
5e4e686492 Highlight route on hover and show start and end timestamps in popup 2024-05-30 11:50:12 +02:00
Eugene Burmakin
de3339ae22 Split Polylines Based on Distance in Leaflet Maps 2024-05-29 23:00:35 +02:00
Eugene Burmakin
2d78fe4d6c Lower the intensity of the heatmap markers 2024-05-27 22:36:57 +02:00
Eugene Burmakin
21f663a090 Add a heatmap layer to the map to show the density of points 2024-05-25 22:14:55 +02:00
Eugene Burmakin
036b21b5a5 Let maps consider the timezone of the application 2024-05-25 20:23:33 +02:00
Eugene Burmakin
22c8a210b1 Disable the ignored_columns feature for now 2024-05-21 23:09:21 +02:00
Eugene Burmakin
bdfa75cf70 Disable markersLayer in maps_controller.js by default to improve performance 2024-04-21 17:15:52 +02:00
Eugene Burmakin
e0244335b7 Move js spaghetti to a tiny bit more structured codebase 2024-04-17 22:00:23 +02:00
Eugene Burmakin
44c2d7eaf2 Implement toggling visibility of polylines and points on the map 2024-04-17 21:54:04 +02:00
Eugene Burmakin
7c9ba57e16 Center map on latest point, not first one 2024-04-04 17:31:15 +02:00
Eugene Burmakin
b6769676c3 Fix google import and add stats for countries and cities visited and distance traveled by year 2024-03-28 15:11:59 +01:00
Eugene Burmakin
0a156b0966 Add markers as a layer 2024-03-23 16:54:01 +01:00
Eugene Burmakin
18ed732c24 Fix owntracks import 2024-03-23 13:36:09 +01:00
Eugene Burmakin
2556e2ae70 Fix the sidebar and the map marker popup 2024-03-22 22:57:53 +01:00
Eugene Burmakin
4af91748f0 Allow to set the default map center via an environment variable. 2024-03-21 23:54:19 +01:00
Eugene Burmakin
e232376ef0 Add popups 2024-03-21 23:24:47 +01:00
Eugene Burmakin
fc3f2b52ad Set default timespan equal to 1 month to date 2024-03-16 23:15:44 +01:00
Eugene Burmakin
476701c5df Replace markers with circle markers and add right sidebar with countries and cities 2024-03-16 22:39:03 +01:00
Eugene Burmakin
fd43e8acc0 Add a form to filter the points by date range 2024-03-16 21:31:07 +01:00
Eugene Burmakin
07395d681e Implement leaflet map with points and polyline 2024-03-16 01:07:20 +01:00