Skip to content

Order of initialization of annotation managers matters! #863

@androideveloper

Description

@androideveloper

I have found a weird bug! When you initialize symbol manager and the circle manager, your symbol can't be dragged! If you change the order of initialization it works!

Steps to reproduce

Demo https://www.dropbox.com/s/ympu7zg722vehty/MapboxSymbolDragDemo.zip?dl=0

Try to change order of initialization:
symbolManager = SymbolManager(mapView, mapboxMap, style)
circleManager = CircleManager(mapView, mapboxMap, style)

Expected behavior

Symbol should be draggable in any case

Actual behavior

Symbol is draggable only, if circle manager initialized first

Configuration

Android versions: 9.0
Device models: Xiaomi mi 2 lite
Mapbox SDK versions: 7.2.0, plugin-annotation-v7:0.5.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions