Skip to content

Releases: maplibre/maplibre-native

ios-v5.12.0

29 Jun 14:37
d62ff40
Compare
Choose a tag to compare

Features

  • Added allowScrollGesturesDuringRotateOrZoom #60
  • Replacing hardcoded configuration with configurable API and removing Mapbox assets and dependencies #90

Bug Fixes

  • Fix map stuttering by switching render call to use setNeedsDisplay #60
  • Dispatch to main queue, rather than global #64
  • Use DisplayLink to prevent crashes in willResignActive #68
  • Ignore sizing and positioning for hidden elements in assertions #80
  • Disable map snapshots by default #83

android-v9.5.0

29 Jun 14:35
d62ff40
Compare
Choose a tag to compare

Features

  • Replacing hardcoded configuration with configurable API and removing Mapbox assets and dependencies #90

Other

  • Migration from bintray #77

android-v9.4.2

06 May 17:00
Compare
Choose a tag to compare

Other

Switching from mapbox-java libraries to maplibre fork

ios-v5.12.0-pre.1

06 May 18:31
Compare
Choose a tag to compare
ios-v5.12.0-pre.1 Pre-release
Pre-release

Features

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

12 Mar 16:58
Compare
Choose a tag to compare

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 let MGLMapView 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 to CLAccuracyAuthorizationReducedAccuracy. (cherry pick from #381)
  • The MGLAccuracyAuthorizationDescription as element of NSLocationTemporaryUsageDescriptionDictionary Info.plist key can now be set to describe why you request accuracy authorization. (cherry pick from #392)
  • Added [MGLMapViewDelegate mapViewStyleForDefaultUserLocationAnnotationView:] and MGLUserLocationAnnotationViewStyle 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

12 Mar 20:28
Compare
Choose a tag to compare

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

06 Jan 18:50
Compare
Choose a tag to compare

Features

  • Added the mbtiles file source for rendering vector tiles from file stored locally on the device.

android-v9.3.0

06 Jan 18:47
Compare
Choose a tag to compare

Features

  • Added the mbtiles file source for rendering vector tiles from file stored locally on the device.

ios-v5.9.0

22 Dec 12:06
Compare
Choose a tag to compare

Styles and rendering

  • Added the mgl_distanceFrom: expression function for calculating the shortest distance between the evaluated feature and an MGLPointAnnotation, MGLPointCollection, MGLPolyline, MGLMultiPolyline, MGLPolygon, or MGLMultiPolygon that you specify as part of an NSExpression 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 the MGLIdeographicFontFamilyName 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 specify NotoSansCJKjp-Bold or Noto Sans CJK JP Bold, which ensures that the characters are set in bold. You can alternatively specify these font names in the MGLIdeographicFontFamilyName key of NSUserDefaults.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 and MGLLineStyleLayer.lineColor misinterpreted non-opaque UIColors. (#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 and MGLOfflineStorage.databaseURL properties to obtain the path of the database that contains offline packs and the ambient cache. To customize this path, set the MGLOfflineStorageDatabasePath 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 invalid MGLMapCamera.centerCoordinate, negative MGLMapCamera.heading, negative MGLMapCamera.pitch, and negative MGLMapSnapshotOptions.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)

android-v9.2.1

22 Dec 11:42
Compare
Choose a tag to compare

Improvements and bug fixes

  • Added compiler and linker options to reduce binary size for release build. (#382)
  • Fixed a crash when Layer.getFilter() is used with the distance expression. (#380)
  • Reset AndroidRendererBackend properly to prevent a crash during rotation on an Android 4.2.2 x86 tablet. (#381(h/t ystsoi)