mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-04 00:47:00 +01:00
The Places view gets a Grid/Map toggle. The map shows a bubble per town, sized by its number of photos, over the outline of the world's land. Towns whose bubbles would overlap merge into one that counts all their photos, and clicking it zooms in until they part; clicking a single town opens it like a card does. Drag to pan, scroll or pinch to zoom, and the buttons zoom in, zoom out or frame every place again. Hovering names the town, or the first few towns of a merged bubble. No tile server is involved: none that is free has terms allowing an app like this one to use it. The map is drawn from Natural Earth's 1:50m land polygons (public domain), trimmed and simplified by scripts/natural-earth-land.py into crates/pdfs-gui/data/land.txt, in Web Mercator. The About dialog credits Natural Earth. PlaceInfo carries the town's latitude and longitude; a daemon older than the map sends none, and its towns are left off the map.
18 lines
417 B
Rust
18 lines
417 B
Rust
pub(crate) mod activity;
|
|
pub(crate) mod albums;
|
|
pub(crate) mod browser;
|
|
pub(crate) mod devices;
|
|
pub(crate) mod duplicates;
|
|
pub(crate) mod locations;
|
|
pub(crate) mod login;
|
|
pub(crate) mod photo_viewer;
|
|
pub(crate) mod photos;
|
|
pub(crate) mod places;
|
|
pub(crate) mod places_map;
|
|
pub(crate) mod shared;
|
|
pub(crate) mod shared_by_me;
|
|
pub(crate) mod status;
|
|
pub(crate) mod takeout;
|
|
pub(crate) mod trash;
|
|
pub(crate) mod verify;
|