Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.18.1

* Clarifies that clearing a tile cache may cause flickering on some platforms.

## 2.18.0

* Adds support for mapTypeControlEnabled, fullscreenControlEnabled, and streetViewControlEnabled on web.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,11 @@ class GoogleMapController {
/// Clears the tile cache so that all tiles will be requested again from the
/// [TileProvider].
///
/// The current tiles from this tile overlay will also be
/// cleared from the map after calling this method. The API maintains a small
/// in-memory cache of tiles. If you want to cache tiles for longer, you
/// should implement an on-disk cache.
/// Depending on the platform implementation, the current tiles may be
/// cleared from the map before replacement tiles are available, causing the
/// tile overlay to flicker. The API maintains a small in-memory cache of
/// tiles. If you want to cache tiles for longer, you should implement an
/// on-disk cache.
Future<void> clearTileCache(TileOverlayId tileOverlayId) async {
_checkWidgetMountedOrThrow();
return GoogleMapsFlutterPlatform.instance.clearTileCache(tileOverlayId, mapId: mapId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: google_maps_flutter
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version: 2.18.0
version: 2.18.1

environment:
sdk: ^3.10.0
Expand Down