customMarker method

  1. @override
Future<void> customMarker(
  1. int idOSM,
  2. GlobalKey<State<StatefulWidget>>? globalKey
)
override

Implementation

@override
Future<void> customMarker(int idOSM, GlobalKey? globalKey) async {
  final icon = await _capturePng(globalKey!);

  await _channels[idOSM]?.invokeMethod("marker#icon", icon);
}