Releases: maplibre/maplibre-native
Releases · maplibre/maplibre-native
ios-v5.12.0
android-v9.5.0
android-v9.4.2
Other
Switching from mapbox-java libraries to maplibre fork
ios-v5.12.0-pre.1
Features
- Migrating from OpenGL ES to Metal. This pre-release includes Metal support, implemented using MetalANGLE library. See maplibre/maplibre-gl-native-distribution for binary artifacts of this release.
Warning: unstable release for test purposes only.
Known Issues
- Map opens "zoomed in" when app brought to foreground with metal-support -branch #76
- Fatal error in Swift UI apps with metal-support #67
- Failed tests:
- MGLDocumentationExampleTests testMGLMapSnapshotter
- MGLMapSnapshotterTests testOverlayHandler
- MGLMapSnapshotterTests testDelegate
- MGLMapSnapshotterTests testRuntimeStyling
- MGLMapSnapshotterTests testLocalGlyphRendering
- Failed Integration tests:
- MGLAnnotationViewIntegrationTests testSelectionMoveIntoView
- MGLAnnotationViewIntegrationTests testSelectionMoveIntoViewWithCallout
- MGLAnnotationViewIntegrationTests testSelectionMoveIntoViewWithBasicCallout
- MGLAnnotationViewIntegrationTests testSelectionMoveIntoViewWithCenterOffset
- MGLAnnotationViewIntegrationTests testShowingAnnotationThenSelectingAnimated
ios-v5.11.0
Features
- Added
MGLLocationManager.accuracyAuthorization
and[MGLLocationManager requestTemporaryFullAccuracyAuthorizationWithPurposeKeyproperty:]
to support iOS 14 location accuracy privacy changes. (cherry pick from #361) - Added
[MGLLocationManager requestTemporaryFullAccuracyAuthorizationWithPurposeKeyproperty:]
to allow developers request just-in-time full-accuracy permissions. (cherry pick from #361) - Added
[MGLLocationManagerDelegate locationManagerDidChangeAuthorization:]
to letMGLMapView
know about privacy changes. (cherry pick from #376) - Added
[MGLMapViewDelegate mapView:didChangeLocationManagerAuthorization:]
to allow developers adjust their apps to privacy settings changes. (cherry pick from #376) - Added an approximate user location halo when
MGLLocationManager.accuracyAuthorization
is set toCLAccuracyAuthorizationReducedAccuracy
. (cherry pick from #381) - The
MGLAccuracyAuthorizationDescription
as element ofNSLocationTemporaryUsageDescriptionDictionary
Info.plist key can now be set to describe why you request accuracy authorization. (cherry pick from #392) - Added
[MGLMapViewDelegate mapViewStyleForDefaultUserLocationAnnotationView:]
andMGLUserLocationAnnotationViewStyle
class to allow developers customize the default user location annotation view UI style. (cherry pick from #403)
Bug Fixes
- Fixed an issue that caused a crash when custom location managers did not implement
MGLLocationManager.accuracyAuthorization
. (cherry pick from #474) - Fixed an issue where symbols flickered when zooming out. #16
- Benchmark app updated and fixes to the latest xcode version
- iOS performance improvements #44
Other
- mapbox-gl-js submodule has been replaced with maplibre-gl-js
- Removed Mapbox Mobile Events and Telemetry #7
android-v9.4.0
Bug Fixes
- Fixed an issue where symbols flickered when zooming out. #16
- Fixes crash caused by NullPointerException MapKeyListener #464, cherry picked from #466
- Fixed an issue where GPS puck keeps previous value when enabled. [#462]mapbox/mapbox-gl-native-android#462, cherry picked from #470
- Not changing location camera mode while disabled. #24
- Symbol layer flickering after zooming out. #16
- Avoid throwing null pointer exception on slow initialization #22
Other
- mapbox-gl-js submodule has been replaced with maplibre-gl-js
- Removed Telemetry #7
ios-v5.10.0
Features
- Added the mbtiles file source for rendering vector tiles from file stored locally on the device.
android-v9.3.0
Features
- Added the mbtiles file source for rendering vector tiles from file stored locally on the device.
ios-v5.9.0
Styles and rendering
- Added the
mgl_distanceFrom:
expression function for calculating the shortest distance between the evaluated feature and anMGLPointAnnotation
,MGLPointCollection
,MGLPolyline
,MGLMultiPolyline
,MGLPolygon
, orMGLMultiPolygon
that you specify as part of anNSExpression
format string. (#295) - Added the
MGLCircleStyleLayer.circleSortKey
property. (mapbox/mapbox-gl-native#15875) - Chinese, Japanese, and Korean characters are now set in the font specified in style JSON or by the
MGLSymbolLayer.textFontNames
property. If the named font is not installed on the device or bundled with the application, the characters are set in a fallback font listed in theMGLIdeographicFontFamilyName
key in the Info.plist file. (#189) - The
MGLIdeographicFontFamilyName
key in the Info.plist file can now specify the fallback fonts for CJK characters by their PostScript names or display names in addition to font family names. For example, you can specifyNotoSansCJKjp-Bold
orNoto Sans CJK JP Bold
, which ensures that the characters are set in bold. You can alternatively specify these font names in theMGLIdeographicFontFamilyName
key ofNSUserDefaults.standardUserDefaults
. (#189) - CJK characters are now laid out according to the font, so fonts with nonsquare glyphs have the correct kerning. (#189)
- Fixed an issue where the baseline for CJK characters was too low compared to non-CJK characters. (#189)
- Fixed a crash when calling the
-[MGLStyle removeImageForName:]
method with the name of a nonexistent image. (mapbox/mapbox-gl-native#16391) - Fixed an issue where properties such as
MGLFillStyleLayer.fillColor
andMGLLineStyleLayer.lineColor
misinterpreted non-opaqueUIColor
s. (#266)
Offline maps
- Added the
-[MGLOfflinePack setContext:completionHandler:]
method for replacing the data associated with an offline pack, such as a name. (#288) - Added the
MGLOfflineStorage.databasePath
andMGLOfflineStorage.databaseURL
properties to obtain the path of the database that contains offline packs and the ambient cache. To customize this path, set theMGLOfflineStorageDatabasePath
in Info.plist. (#298) - Fixed an error that occurred if your implementation of the
-[MGLOfflineStorageDelegate offlineStorage:URLForResourceOfKind:]
method returned a local file URL. (mapbox/mapbox-gl-native#16428)
Other changes
- Fixed a crash when encountering an invalid polyline. (mapbox/mapbox-gl-native#16409)
- Fixed an issue where an
MGLMapSnapshotOptions
with an invalidMGLMapCamera.centerCoordinate
, negativeMGLMapCamera.heading
, negativeMGLMapCamera.pitch
, and negativeMGLMapSnapshotOptions.zoomLevel
resulted in a snapshot centered on Null Island at zoom level 0 even if the style specified a different initial center coordinate or zoom level. (#280) - Certain logging statements no longer run on the main thread. (mapbox/mapbox-gl-native#16325)
- Fixed an issue that prevented the Maps SDK from warning about a misconfiguration that violated the Mapbox ToS. (#288)