nativescript-community / nativescript-community/ui-mapbox

Failure to load style from local ~~Enable raster-only loading~~

Open
#61 2 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

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.