breezy-weather / breezy-weather

A Material Design Weather Application
GNU Lesser General Public License v3.0
5.67k stars 172 forks source link

Add location from a map #10

Open papjul opened 1 year ago

papjul commented 1 year ago

Describe your suggested feature

Add ability to choose a specific position from a map.

That would allow user than don't want to share their location or have localisation turned on at all time, to put a specific point on the map, especially for big cities.

There is already an hidden FAB button on location list that we can use.

See if osmdroid project can help us for map library.

Other details

Replace the search page with a new page like Google Maps:

IMG_20231111_061925

Can be done at a later point:

Acknowledgements

papjul commented 7 months ago

Needs a reverse geocoding source first

Rafee-M commented 2 months ago

Having the map option would be definitely useful, but the map library would have to be an optional download to keep it lightweight.

The latitude and longitude input would be more functional and efficient I believe while keeping the map optional

papjul commented 2 months ago

Sorry, we have no plans to make an additional flavor to save 861.71 KB of dependency.

Your suggestion is not more efficient or user-friendly because you have to use an additional tool to get your longitude and latitude, compared to just tapping on the map where you want to add. And it's not more functional, it's the opposite: it lacks many of the functionalities listed in the first post.

Additionally, what you suggest already kinda exists: if you type lat,lon in the AccuWeather search, you will get the closest result for this point.

Rafee-M commented 2 months ago

Sorry, we have no plans to make an additional flavor to save 861.71 KB of dependency.

I didn't mean a separate flavour. And it was my bad, I assumed the map would be locally stored.

Additionally, what you suggest already kinda exists: if you type lat,lon in the AccuWeather search, you will get the closest result for this point.

Ah didn't know that, thanks!