Skip to content

Can't get layerId from LineManager / SymbolManager #1070

@oFFca

Description

@oFFca

Hi, We use LineManger and SymbolManager for drawing Line and Symbol. Additional we have more layers that we can turn on and off via visibility properties. Line and Symbol Layer should be always turn on, but now we don't know those layerIds. When we used 'com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v7:0.6.0' we used

SymbolManager.ID_GEOJSON_LAYER 
LineManager.ID_GEOJSON_LAYER

For newer version 'com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v8:0.7.0' I spot that we have those ids in LineElementProvider, but it's not public. From AnnotationManager we can't also use layer or coreElementProvider.

How we can get ids?

Android versions:
All
Device models:
All
Mapbox SDK versions:
mapbox-android-sdk:8.5.0
mapbox-android-plugin-annotation-v8:0.7.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