mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(web): Map in albums & shared albums (#17906)
* add btn, map and marker * Fix bug in navigation assetviewer * Correct bug on main Viewer * Add to user album the map of his pictures * change icon to outline * lint & format * with manager instead of variable * remove duplicate * chore: minor styling change * formatting --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
parent
8f7baf8336
commit
7d61ed7ce4
6 changed files with 203 additions and 24 deletions
13
web/src/lib/managers/album-view-map.manager.svelte.ts
Normal file
13
web/src/lib/managers/album-view-map.manager.svelte.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
class AlbumMapViewManager {
|
||||
#isInMapView = $state(false);
|
||||
|
||||
get isInMapView() {
|
||||
return this.#isInMapView;
|
||||
}
|
||||
|
||||
set isInMapView(isInMapView: boolean) {
|
||||
this.#isInMapView = isInMapView;
|
||||
}
|
||||
}
|
||||
|
||||
export const albumMapViewManager = new AlbumMapViewManager();
|
||||
Loading…
Add table
Add a link
Reference in a new issue