markerIconsStaticPositions method

Future<void> markerIconsStaticPositions(
  1. String id,
  2. GlobalKey<State<StatefulWidget>> key
)

Implementation

Future<void> markerIconsStaticPositions(
  String id,
  GlobalKey key,
) async {
  final base64Icon = (await capturePng(key)).convertToString();
  await interop
      .setIconStaticGeoPoints(
        mapIdMixin.toJS,
        id.toJS,
        base64Icon.toJS,
      )
      .toDart;
}