nextcloud / nextcloud/talk-android
How to Change the Map Used in "Share Location"
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 739
- Forks
- 321
- Avg merge
- 14h 59m
- Merged PRs (30d)
- 151
Description
Is your feature request related to a problem? Please describe.
Due to well-known network restrictions, OpenStreetMap is inaccessible in certain regions.
Describe the solution you'd like
In Nextcloud's config.php, the following map provider URLs have been added:
'map_provider_urls' => array ( 0 => 'https://tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey=xxxx', 1 => 'https://a.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', 2 => 'https://a.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}.png', ), 'map_location' => true,
However, the "Share Location" feature still defaults to OpenStreetMap. How can I configure it to use one of the alternative map URLs listed above?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source file or test. Start by locating the Android Share Location implementation and checking how the map_provider_urls and map_location settings are handled; done means documenting a supported configuration or confirming that the alternative provider can be used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100