Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
format
  • Loading branch information
Chris Yang committed Jan 22, 2021
commit c09b7135d1021118cf908d794c93e4275d05e5a4
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class GoogleMapController {
@required this.mapId,
}) : assert(_googleMapsFlutterPlatform != null) {
_connectStreams(mapId);
_googleMapsFlutterPlatform.updateTileOverlays(mapId: mapId, newTileOverlays: _googleMapState.widget.tileOverlays);
_googleMapsFlutterPlatform.updateTileOverlays(
mapId: mapId, newTileOverlays: _googleMapState.widget.tileOverlays);
}

/// Initialize control of a [GoogleMap] with [id].
Expand Down Expand Up @@ -160,8 +161,8 @@ class GoogleMapController {
///
/// The returned [Future] completes after listeners have been notified.
Future<void> _updateTileOverlays(Set<TileOverlay> newTileOverlays) {
return _googleMapsFlutterPlatform.updateTileOverlays(newTileOverlays: newTileOverlays,
mapId: mapId);
return _googleMapsFlutterPlatform.updateTileOverlays(
newTileOverlays: newTileOverlays, mapId: mapId);
}

/// Clears the tile cache so that all tiles will be requested again from the
Expand Down