-
Notifications
You must be signed in to change notification settings - Fork 6
Description
New MapKit JS Release
MapKit JS 5.23.0 includes new APIs for region and zoom limits, an updated Maps logo, and more.
New Features
Added the
cameraDistanceproperty, which sets the altitude of the camera above the center of the map. A change to the map's camera distance can be animated withsetCameraDistanceAnimated.Added the
cameraZoomRangeproperty, which restricts zooming to a specified minimum and maximum camera distance. A change to the map's camera zoom range can be animated withsetCameraZoomRangeAnimated.Added the
cameraBoundaryproperty, which restricts panning to a specified coordinate region. A change to the map's camera boundary can be animated withsetCameraBoundaryAnimated.Enabled Directions support for users in China.
Updated logo in lower left corner from to Maps.
Updated
Fixed issue where
importGeoJSONwould not import aGeometryCollectionnested within aFeature.Improved how the default marker annotation color is set depending on the map's
colorScheme. Setting a marker annotation's color property tonullsets a default color that matches the currentcolorScheme.Updated the Legal link on the map to open a web page, instead of displaying a menu.
The currently supported version is 5.18.0.