createCircleAnnotationManager method
Create a CircleAnnotationManager to add/remove/update CircleAnnotations on the map.
If id
is specified, the string is used as an identifier for a layer and a source backing the create manager.
Use below
to specify the id of the layer above the annotation layer.
Implementation
Future<CircleAnnotationManager> createCircleAnnotationManager(
{String? id, String? below}) async {
return _mapboxMapsPlatform
.createAnnotationManager('circle', id: id, belowLayerId: below)
.then((value) => CircleAnnotationManager._(
id: value,
messenger: _mapboxMapsPlatform.binaryMessenger,
channelSuffix: _mapboxMapsPlatform.channelSuffix.toString()));
}