nativescript-community / nativescript-community/ui-mapbox

getUserLocation() doesn't work unless showUserLocation is enabled

Open
#34 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
38
Forks
26
PR merge metrics
No merged PRs in 30d

Description

The only way to get user location is to enable showUserLocation.

In my case, I would like to show a marker instead so that if you change address in the app, the marker would be showed in a different location on the map. If you enable showUserLocation, user icon is always visible and adding a marker there makes confusion.

Any way to get user location without using the showUserLocation option?

Contributor guide

No contributing guide indexed for this repository

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

No file or test is named. Start by locating the getUserLocation API and the showUserLocation option, then trace how location access is exposed to callers. Done means callers can obtain the user location without enabling the visible user-location indicator, while existing showUserLocation behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.