Skip to content

mapbox_gl: ^0.12.0 : updateSymbol(symbol, changes) and clearSymbols() dont work #704

Closed

Description

@p3im4n

hi
on android 11 and mapbox_gl: ^0.12.0 : updateSymbol(symbol, changes) and clearSymbols() dont work
and I have to downgrade to mapbox_gl: ^0.11.0
and this leads to other dependencies versions conflicting.
this is my pubsec.yaml

version: 1.0.0+1

environment:
sdk: ">=2.12.0 <3.0.0"

dependencies:
flutter:
sdk: flutter
hive: ^2.0.4
hive_flutter: ^1.1.0
mapbox_gl: ^0.12.0
meta: ^1.6.0
cupertino_icons: ^1.0.2

dev_dependencies:
timer_builder: ^2.0.0
flutter_test:
sdk: flutter

polyline: ^1.0.2
http: ^0.13.3
equatable: ^1.2.6
flutter_svg: ^0.22.0
provider: ^6.0.1
path_provider: ^2.0.2
hive_generator: ^1.0.0
build_runner: ^1.11.1

Activity

  1. lecanhhiep commented on Oct 8, 2021

    @lecanhhiep

    Hi,

    You can use like below code:
    FullMapPage.mapController?.symbols.forEach((element) {//loop all symbols and remove them one by one.
    FullMapPage.mapController?.removeSymbol(element);
    });

    Thanks,

  2. mekkolodziejski commented on Oct 11, 2021

    @mekkolodziejski

    remove doesn't work either. most don't work in version 12

  3. added a commit that references this issue on Oct 21, 2021
  4. added a commit that references this issue on Nov 13, 2021
  5. stale commented on Jan 14, 2022

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions