2.4.0-beta.1
Pre-release
Pre-release
pjleonard37
released this
18 Oct 14:03
·
30 commits
to main
since this release
Features ✨ and improvements 🏁
- Expose current map's camera state on
CameraChanged
event. #704
You can now observe the map's camera updates with onCameraChangeListener
onCameraChangeListener(CameraChangedEventData data) {
print("CameraChangedEventData: timestamp: ${data.timestamp}, cameraState: ${data.cameraState}");
}
- Print to console native Maps SDK logs in debug configuration. Logs are proxied only in debug configuration and can be disabled completely by passing environment flag
MAPBOX_LOG_DEBUG
with false value. #710 - Remove
ProxyBinaryMessenger
, instead setup channel with amessageChannelSuffix
. #715.
Bug fixes 🐞
- Fix rare crash in
Snapshotter
. The crash could happen when creating/destroying multiple instances ofSnapshotter
in succession. #728 - Fix a crash that occurs when the widget state is updated before the platform view is created. #724
- Fix a crash in Snapshotter when GlyphsRasterizationMode is specified in MapSnapshotOptions. #738