flutter-mapbox-gl / maps

A Mapbox GL flutter package for creating custom maps
Other
1.04k stars 503 forks source link

MapBox initialCameraPosition ignoring latitude #1250

Closed brunoatvenosa closed 1 year ago

brunoatvenosa commented 1 year ago

When defining a body for a Scaffold using MapBox if you pass a CameraPosition for the initialCameraPosition property and that CameraPosition defines a target LatLag, the resulting camera position has is at Latitude 0

The expected behaviour would be the initial camera to be right above the informed coordinates

Steps to reproduce: Alter line 55 of file flutter-mapbox-gl\example\lib\full_map.dart to be initialCameraPosition: const CameraPosition(target: LatLng(53, -47)), in the same line altering the number 53 to any other makes no difference, but altering the -47 changes the camera position

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.