-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
customer: vroomp: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Milestone
Description
Use case
I want to be able to center the camera position in a google map when part of the map is being covered by a bottom sheet/drawer. In order to do this, I need to be able to convert LatLng to/from screen location.
For example, in Java you can convert the LatLng to/from a screen location via:
map.getProjection().toScreenLocation(latLng);
map.getProjection().fromScreenLocation(point);I don't think this is currently possible with the flutter google map implementation.
Proposal
Add getProjection to the MapController in google_maps_flutter
tchabot22, erickjtorres, JenniferJesuraj, PawlikMichal25, felangel and 4 more
Metadata
Metadata
Assignees
Labels
customer: vroomp: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.