Customizable, performant and vendor-free vector and raster maps, flutter wrapper for maplibre-native and maplibre-gl-js (fork of flutter-mapbox-gl/maps)
Description:
When using the flutter_maplibre_gl package to set the initial camera position, the specified latitude value for the target location appears to be ignored. Regardless of the latitude value provided, the map centers incorrectly, which affects the initial view of the map.
Steps to Reproduce:
Create a new Flutter application.
Add the flutter_maplibre_gl package to pubspec.yaml.
Configure the MaplibreMap widget with an initialCameraPosition specifying a target latitude.
Run the application and observe the map's initial center.
Expected Behavior:
The map should center on the specified target latitude provided in the initialCameraPosition argument.
Actual Behavior:
The map ignores the target latitude and centers incorrectly, displaying a different initial location.
Additional Context:
The issue persists regardless of the latitude value provided. The map consistently centers on an incorrect location, indicating that the latitude value might be ignored or overwritten.
Description: When using the
flutter_maplibre_gl
package to set the initial camera position, the specified latitude value for the target location appears to be ignored. Regardless of the latitude value provided, the map centers incorrectly, which affects the initial view of the map.Steps to Reproduce:
flutter_maplibre_gl
package topubspec.yaml
.MaplibreMap
widget with aninitialCameraPosition
specifying a target latitude.Expected Behavior: The map should center on the specified target latitude provided in the
initialCameraPosition
argument.Actual Behavior: The map ignores the target latitude and centers incorrectly, displaying a different initial location.
Code Example:
Environment:
Additional Context: The issue persists regardless of the latitude value provided. The map consistently centers on an incorrect location, indicating that the latitude value might be ignored or overwritten.