mapbox / mapbox/mapbox-maps-flutter

Indoor selector floor numbers inconsistent

Open
#1,136 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
380
Forks
204
PR merge metrics
No merged PRs in 30d

Description

I enabled the buttons for viewing indoor spaces and im getting random results for floor numbers. If I look at the Detroit airport I'm seeing the correct floors initially but after some movements and more zooming it starts displaying additional floors which aren't correct. Another example in Vancouver, BC's airport. I can get the 2nd floor to display 3 times and they both select the same floor. This issue seems to just be related to this SDK. GLJS does not have this issue.

Using the most recent version: 2.26.0. Happens on iPad and iPhone, multitude of OS's and models.

`mapboxMap?.indoorSelector.updateSettings(IndoorSelectorSettings(enabled: enabled))`

Edit: Floor number buttons dont show up on android at all.

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 reproducing the issue with indoorSelector.updateSettings(IndoorSelectorSettings(enabled: enabled)) on the mapbox-maps-flutter 2.26.0 SDK, checking the Detroit and Vancouver airport examples on iOS and Android. Trace the indoor selector behavior as the map is moved and zoomed, including the missing Android buttons; done means floor buttons show the correct unique floors consistently on both platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.