ScaleBarViewOptions.units property supporting metric, imperial, and nautical units, replacing the boolean useMetricUnits property.fuelingStationModePointOfInterestLabels configuration option to Mapbox Standard and Standard Satellite styles. Control the visibility of fuel station and electric charging station POI labels with options: default (shows both), fuel (fuel stations only), electric (charging stations only), or none (hides both).MapInitOptions.mapStyle property. Use it to initialize map with a custom style.// Before
let options = MapInitOptions(styleURI: .standardSatellite)
let mapView = MapView(frame: view.bounds, mapInitOptions: options)
mapView.mapboxMap.setStyleImportConfigProperties(for: "basemap", configs: ["lightPreset": "dusk"])
// After:
let options = MapInitOptions(mapStyle: .standardSatellite(lightPreset: .dusk))
let mapView = MapView(frame: view.bounds, mapInitOptions: options)
StyleReloadPolicy to control style reload behavior. Use reloadPolicy: .always parameter in loadStyle() methods or MapStyle initializers to always reload the style even when the URI or JSON matches the currently loaded style. Defaults to .onlyIfChanged for optimal performance.scaleFactor parameter to MapOptions and MapSnapshotOptions for scaling icons and texts. Default value is 1.0.feature-state. See AppearancesExample for further details.OrnamentsManager when setting attribution color.line-cutout-width.24.17.0-beta.1.11.17.0-beta.1:16.224.16.2.11.16.2.16.224.16.1.11.16.1.16.224.15.4.11.15.4.16.2LandmarkIcons featureset in Mapbox Standard Style. Use the standardLandmarkIcons featureset descriptor to handle interactions on landmark buildings icons:Map {
TapInteraction(.standardLandmarkIcons) { landmark, ctx in
print("Landmark \(landmark.name) is tapped")
}
}
MapStyle.standard() and MapStyle.standardSatellite() with new configuration parameters for color customization, landmark icons visibility, point-of-interest styling, road appearance, and administrative boundaries.LineLayer.lineCutoutFadeWidth to control route line cutout fade width.var expressions that did not work properly with config expressions.24.16.0.11.16.0.16.224.16.0-rc.211.16.0-rc.216.224.15.3.11.15.3:16.224.14.8.11.14.8:
16.2var expressions that did not work properly with config expressions.24.16.0-rc.1.11.16.0-rc.1:16.224.15.2.11.15.2.16.2Internal improvements and optimizations.
24.14.7.11.14.7.16.224.15.1.11.15.1.16.2LandmarkIcons featureset in Mapbox Standard Style. Use the standardLandmarkIcons featureset descriptor to handle interactions on landmark buildings icons:Map {
TapInteraction(.standardLandmarkIcons) { landmark, ctx in
print("Landmark \(landmark.name) is tapped")
}
}
MapStyle.standard() and MapStyle.standardSatellite() with new configuration parameters for color customization, landmark icons visibility, point-of-interest styling, road appearance, and administrative boundaries.LineLayer.lineCutoutFadeWidth to control route line cutout fade width.24.16.0-beta.1.11.16.0-beta.1.16.224.14.6.11.14.6.16.2-use-theme property for iconslineCutoutOpacity and lineCutoutWidth24.15.0.11.15.0.16.224.14.4.11.14.4.16.224.14.3.11.14.3.16.224.15.0-rc.1.11.15.0-rc.1.16.224.15.0-beta.3.11.15.0-beta.3.16.224.14.2.11.14.2.16.2