updateMapConfiguration method

Future<void> updateMapConfiguration(
  1. MapConfiguration configuration, {
  2. required int mapId,
})

Updates configuration options of the map user interface.

Change listeners are notified once the update has been made on the platform side.

The returned Future completes after listeners have been notified.

Implementation

Future<void> updateMapConfiguration(
  MapConfiguration configuration, {
  required int mapId,
}) {
  return updateMapOptions(jsonForMapConfiguration(configuration),
      mapId: mapId);
}