nativescript-community / nativescript-community/ui-mapbox
getUserLocation() doesn't work unless showUserLocation is enabled
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
- 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
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