Repository navigation
2.5.0-beta.1
Pre-release
Pre-release
·
547 commits
to main
since this release
Features ✨ and improvements 🏁
- Added viewport support to
MapWidget. Control the camera’s initial position and behavior by specifying a ViewportState subclass in the viewport parameter. This allows for centering on specific locations, following the user’s position, or showing an overview of a geometry. If no viewport is provided, the map uses its default camera settings. PR by @evil159
MapWidget(
viewport: CameraViewportState(
center: Point(coordinates: Position(-117.918976, 33.812092)),
zoom: 15.0,
),
);- Update Turf dependency to
4.0.0-beta.1