jklmnn / ParkenDD

Android App for parking spots in Dresden.
http://parkendd.de
GNU General Public License v3.0
26 stars 13 forks source link

Map view doesn't work #54

Closed OliverGraetsch closed 4 years ago

OliverGraetsch commented 4 years ago

On my Oneplus 6 (Android 9), the map view doesn't work. It seems to show my location and the parking spots around with status, but no map. There's only a grid of grey squares. Tried different cities, all wit the same issue.

jklmnn commented 4 years ago

Have you allowed storage access? The OSM plugin needs it to cache the tiles (although in theory it should still download them). It could also be a problem with the tile provider. I'll check if I find a better one.

OliverGraetsch commented 4 years ago

Yes, I allowed it. Thanks for checking.

jklmnn commented 4 years ago

I looked into MapBox but osmdroid doesn't seem to support their styles correctly so there is only a half empty black map available. The current alternatives are

The first one requires a reimplementation of the current map view for the new SDK. The second might require a significant amount of time (and test accounts) without a guarantee that a feasible provider is found. In general there don't seem to be real free providers (at least not without breaking terms of service) as the number of free requests is quite low (<25k/month). Also the paid subscriptions are too expensive. Even the smallest packages (25-50k/month) cost ~$100/month which is way too much.

As I lack the time to build a working (and useful) map view and I'm not willing to pay significant amounts of money I'm going to remove this broken feature altogether. EDIT: there are also free map tiles that can be self-hosted, but those are about 60GB.