mapbox / mapbox/mapbox-maps-flutter

annotation and popoup

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

when i try to remove a layer from my code, i get this style error how come
Error adding point layer: PlatformException(Throwable, java.lang.Throwable: Layer e9bd271c-f1dc-483c-8c1f-e0d0d02494c7_Point already exists, Cause: null, Stacktrace: java.lang.Throwable: Layer e9bd271c-f1dc-483c-8c1f-e0d0d02494c7_Point already exists
at com.mapbox.maps.mapbox_maps.StyleController.addStyleLayer(StyleController.kt:151)
at com.mapbox.maps.mapbox_maps.pigeons.StyleManager$Companion.setUp$lambda$29$lambda$28(MapInterfaces.kt:5753)

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 layer-removal flow described in the issue and inspect the stack trace locations in StyleController.kt and MapInterfaces.kt. Determine why adding the point layer is attempted after removal, then verify that the same flow no longer reports that the layer already exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.