addGraphicsLayer method

Future<GraphicsLayer> addGraphicsLayer({
  1. required String layerId,
  2. required GraphicsLayerOptions options,
  3. void onPressed(
    1. dynamic
    )?,
})

Implementation

Future<GraphicsLayer> addGraphicsLayer({
  required String layerId,
  required GraphicsLayerOptions options,
  void Function(dynamic)? onPressed,
}) async {
  return ArcgisMapPlatform.instance.addGraphicsLayer(
    options,
    mapId,
    layerId,
    onPressed,
  );
}