mapbox / mapbox/mapbox-navigation-android

Unable to highlight extrusion/ footprint if custom Studio map style already contains extrusions

Open
#4,054 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Android API: 28
Mapbox Navigation SDK version: 1.4.0

Steps to trigger behavior
  1. Run BuildingFootprintHighlightActivity or BuildingExtrusionHighlightActivity with a custom Studio style containing extruded buildings
  2. build
  3. For footprints, app will crash and for extrusions, nothing will happen
Expected behavior

Building/footprint would be highlighted with no crashing.

Actual behavior

For buildings, nothing happens in UI when the user arrives. For footprints, the app crashes.

BuildingHighlight:
https://user-images.githubusercontent.com/44972592/108887769-a9f93780-75d8-11eb-9298-e9e02f2a33fb.mov

FootprintHighlight:
https://user-images.githubusercontent.com/44972592/108887753-a5348380-75d8-11eb-8201-17256a684e45.mov

cc @jkevincrowley

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

Start by running BuildingFootprintHighlightActivity and BuildingExtrusionHighlightActivity with a custom Studio style that already contains extruded buildings, using the stated Android API and SDK versions. Compare the crash and no-op behavior with the expected building or footprint highlight behavior, and confirm both activities work without crashing or silently failing.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.