Skip to content
Closed
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
fixed tile lookup in map
  • Loading branch information
Iulian Tiganasu committed Jan 22, 2021
commit 2af694703dd617d9313287c33adb93e9e79a5072
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ class MethodChannelGoogleMapsFlutter extends GoogleMapsFlutterPlatform {
case 'tileOverlay#getTile':
final Map<TileOverlayId, TileOverlay> tileOverlaysForThisMap =
_tileOverlays[mapId];
final String tileOverlayId = call.arguments['tileOverlayId'];
final TileOverlayId tileOverlayId =
TileOverlayId(call.arguments['tileOverlayId']);
final TileOverlay tileOverlay = tileOverlaysForThisMap[tileOverlayId];
assert(tileOverlay.tileProvider.getTile != null);
final Tile tile = await tileOverlay.tileProvider.getTile(
Expand Down