nativescript-community / nativescript-community/ui-mapbox
Failure to load style from local ~~Enable raster-only loading~~
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 38
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
In order to add new sources, at the moment, one has to wait for the mapReady event to fire (else they won't show up), and for that to happen, a token and an initial style are needed. Given that the functionality is handy and some users may not require access to mapbox specific servers (if they are using openstreetmaps for example), would it be possible to bypass the initial check?
I'm guessing it would be an easy fix, but not sure where to start, so throwing it here, to see if someone has found a quick fix or a workaround. Thank you!
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
The issue does not name files, tests, or entry points. Start by locating the mapReady handling and the initial token/style check described in the issue, then determine whether local or raster-only maps can bypass it; done means sources render without waiting for that initial check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100