updateMarkers method

Future<void> updateMarkers(
  1. List<GisMapMarker> markers
)

Implementation

Future<void> updateMarkers(List<GisMapMarker> markers) async {
  try {
    listMarker = markers;
    await _platform.invokeMethod('updateMarkers', {"markers": markers.map((e) => e.toJson()).toList()});
  } on PlatformException catch (e) {
    log('Platform exeption updateMarkers() message: $e');
  }
}