mapbox / mapbox/mapbox-navigation-android

How to set PBF data?

Open
#7,895 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

Hi there.
When using MapLibre's Android SDK, the map data I need to display is in PBF format. How should I set it up?
The PBF url is `https://mapapi.geodata.gov.hk/gs/api/v1.0.0/vt/basemap/WGS84/tile/15/14299/26775.pbf`, and the style url is `https://mapapi.geodata.gov.hk/gs/api/v1.0.0/vt/basemap/WGS84/resources/styles/root.json`.

![Image](https://github.com/user-attachments/assets/45c87b7f-eacc-4278-86a5-1b488d64afd6)

Contributor guide

Open the contributing guide

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 source file or test is named. Start by reviewing the MapLibre Android SDK's handling of the supplied style URL and PBF URL, then identify the project's relevant usage documentation; done means documenting a verified setup for displaying this data or explaining the supported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
documentation, mobile
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.