LGro / coagulate

Staying in contact, with privacy friendly contact synchronization and location sharing powered by Veilid.
https://coagulate.social
Mozilla Public License 2.0
9 stars 0 forks source link

Map view #4

Closed LGro closed 4 months ago

LGro commented 5 months ago

Since the OpenStreetMap Flutter plugin doesn't seem to work with the current Gradle build setup for Android, we might need to use a platform specific switch and go for a native Apple / Google Maps. It would still be nice to get a more privacy friendly alternative going.

Known Flutter map plugins:

LGro commented 5 months ago

mapbox_maps_flutter seems like a suitable alternative. Switched, but couldn't get markers to work yet. Also, they are nearing their 1.0 release so things might change.

LGro commented 4 months ago

https://docs.fleaflet.dev/ might be worth a look as well.

LGro commented 4 months ago

We should consider using native Apple Maps on iOS and osm based maps on Android, depending on the privacy concerns in the respective user bases.

LGro commented 4 months ago

osm map loading takes quite long, also the markers disappear when the app is resumed from background on iOS

LGro commented 4 months ago

flutter_map seems to be the so far nicest API to code, also switching from osm to mapbox is super easy and only one variable is required to set a mapbox api token. Just need to figure out how to increase the size of the markers + text now.