nativescript-community / nativescript-community/ui-mapbox

Svelte Native - IOS: Zoom is not working and Compass is not visible

Open
#81 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

I'm using this plugin in svelte native, and I've tried setting disableZoom = false and hideCompass = false, but neither of these options works. Is anyone else having the same problem? Also, when I set zoomLevel = 18 >=, the app crashes, I'm not sure why.

 <mapBox
            accessToken={GOOGLE_MAP_API_KEY}
            mapStyle="traffic_day"
            latitude="53.6060"
            longitude="10.0453"
            zoomLevel="16"
            minZoom="10"
            showUserLocation={true}
            height="100%"
            width="100%"
          />
image

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

Start by reproducing the issue on iOS with the shown mapBox configuration, focusing on disableZoom, hideCompass, and zoomLevel. Inspect the plugin's mapBox component handling for these options; done means zoom and compass controls work as expected and setting zoomLevel to 18 does not crash the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.