Closed sarmiladhandapani closed 2 years ago
@sarmiladhandapani Some devices seem to report this issue. This is a duplicate #6 and #20 and it seems the issue is caused by the fact that the map will be re-built when your keyboard hides after picking a place from the list.
I close this in favor of continuing the discussion at #20.
Describe the bug Marker not animating to new position on search
To Reproduce Steps to reproduce the behavior:
Expected behavior When I click on any place name in the search result, the marker should animate to new position
Screenshots Before Search
On Search
After Clicking on search result
Output of
flutter doctor -v
Device/Emulator/Simulator (and architecture) I.e. Pixel 5 API Thiramisu
Additional context Error Message
E/flutter (11982): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method camera#animate on channel plugins.flutter.io/google_maps_8) E/flutter (11982): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:175:7) E/flutter (11982): <asynchronous suspension> E/flutter (11982): #1 _PlacePickerState._moveTo (package:google_maps_place_picker_mb/src/place_picker.dart:412:5) E/flutter (11982): <asynchronous suspension> E/flutter (11982): #2 _PlacePickerState._pickPrediction (package:google_maps_place_picker_mb/src/place_picker.dart:403:5) E/flutter (11982): <asynchronous suspension> E/flutter (11982): D/WindowContextController(11982): attachToDisplayArea success, type:2030, displayId:41 D/MapsInitializer(11982): preferredRenderer: null D/zzca (11982): preferredRenderer: null I/Google Maps Android API(11982): Google Play services package version: 220412044 I/Google Maps Android API(11982): Google Play services maps renderer version(legacy): 203115000 D/WindowOnBackDispatcher(11982): App: com.easyfiledservice.app isChangeEnabled=false featureFlagEnabled=true onBackInvokedEnabled=false D/WindowOnBackDispatcher(11982): App: com.easyfiledservice.app isChangeEnabled=false featureFlagEnabled=true onBackInvokedEnabled=false V/OnBackInvokedDispatcher(11982): Pending setActual android.view.ViewRootImpl@a5028aa. Current null V/OnBackInvokedDispatcher(11982): Pending transferring 0 callbacks to android.window.WindowOnBackInvokedDispatcher@e014c9b D/HostConnection(11982): createUnique: call D/HostConnection(11982): HostConnection::get() New Host Connection established 0xb400007ceb48f950, tid 14428