orblivion / desert-atlas

Other
7 stars 1 forks source link

Download Region button for search result popup #70

Open orblivion opened 9 months ago

orblivion commented 9 months ago

Add a "Download region under this marker" or "...for this city" button for search result popup. Get rid of the "hide this marker" button.

Use case is that you search for a city and want to download the region underneath it. If the region happens to be small, the marker is in the way, especially on mobile. There's a button right now to hide the marker but it's not obvious that this is what you should do. Plus, if the city is near the edge of a region it might not be obvious which region(s) to download.

Potential issue: Maybe a city is split between multiple areas.

Potential solution: Download all regions within 5 miles of the marker's location or something. Though test that on New York City. That might mean that the default behavior for NYC would be to download the small region that's basically all NYC, PLUS a bunch of other areas around it.

Also: Once we get administrative regions we might scrap all of this? I dunno.