nextcloud / nextcloud/talk-android

How to Change the Map Used in "Share Location"

Open
#5,255 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.