Skip to content

Commit

Permalink
[google_maps_flutter] Add temporary code to prevent errors (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
seungsoo47 authored Sep 10, 2024
1 parent 6487861 commit 9468fd8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/google_maps_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## NEXT

* Update webview_flutter_lwe to 0.3.3.

## 0.1.8

* Support longpress event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,22 @@ class GoogleMapsPlugin extends GoogleMapsFlutterPlatform {
return; // Noop for now!
}

@override
Future<void> updateHeatmaps(
HeatmapUpdates heatmapUpdates, {
required int mapId,
}) async {
return; // Noop for now!
}

@override
Future<void> updateClusterManagers(
ClusterManagerUpdates clusterManagerUpdates, {
required int mapId,
}) async {
return; // Noop for now!
}

@override
Future<void> clearTileCache(
TileOverlayId tileOverlayId, {
Expand Down Expand Up @@ -284,6 +300,11 @@ class GoogleMapsPlugin extends GoogleMapsFlutterPlatform {
return _events(mapId).whereType<MapLongPressEvent>();
}

@override
Stream<ClusterTapEvent> onClusterTap({required int mapId}) {
return _events(mapId).whereType<ClusterTapEvent>();
}

/// Disposes of the current map. It can't be used afterwards!
@override
void dispose({required int mapId}) {
Expand Down
2 changes: 1 addition & 1 deletion packages/google_maps_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ dependencies:
google_maps_flutter_platform_interface: ^2.7.0
stream_transform: ^2.0.0
webview_flutter: ^4.4.2
webview_flutter_lwe: ^0.3.2
webview_flutter_lwe: ^0.3.3

0 comments on commit 9468fd8

Please sign in to comment.