woheller69 / spritpreise

A privacy friendly app for gas prices in Germany
GNU General Public License v3.0
104 stars 6 forks source link

[Enhancement] Let the user scroll/zoom the map to an arbitrary point and search there for current gas prices. #46

Open ChrisPHL opened 4 months ago

ChrisPHL commented 4 months ago

Hi there, this would be an enhancement to Version 2.6 (F-Droid). Here's a proposal for what I would call a pretty usefull feature in this otherwise very usefull app ;-):

Kind regards Chris

basc commented 1 month ago

That happens often to me. A "search here" button would be great and would help me a lot. Thanks for that great app.

woheller69 commented 1 month ago

Please try this: app-release.apk.zip

-Uninstall -Remove .zip and install

When you are in the first tab a long click on the map will open a dialog and ask if you want to change the location.

basc commented 1 month ago

WOW, that was fast. Many thanks to you @woheller69. Works great. Now i am able to scroll the map search where ever i want to. Thanks again.

ChrisPHL commented 1 month ago

I did a fast test and yes it works as you described. To be honest I don't like the UX the new feature feels like quick and dirty POC. I would like to point to my three suggestion point above again. A zoom function would be helpful because when I zoom out I want (if possible) as much hits to be shown as there are on the visible map rather than zooming back in and show no hits because there aren't so I can estimate where is the nearest gas station at a certain point on the map. Nevertheless don't get me wrong: I like your attitude working an this issue. Just trying if there's a way to do it... (y)

kind regards Chris

woheller69 commented 1 month ago

Tankerkönig does not like too many API calls which would happen if we update with every move or zoom change. So I will not change this.

ChrisPHL commented 1 month ago

Tankerkönig does not like too many API calls which would happen if we update with every move or zoom change. So I will not change this.

That's why I suggested the extra "Search here" button at the top button bar.