updatePolygons method

Future<void> updatePolygons(
  1. PolygonUpdates polygonUpdates, {
  2. required int mapId,
})

更新polygon的数据

Implementation

Future<void> updatePolygons(
  PolygonUpdates polygonUpdates, {
  required int mapId,
}) {
  return channel(mapId).invokeMethod<void>(
    'polygons#update',
    polygonUpdates.toMap(),
  );
}