Skip to content

Commit 09260ff

Browse files
authored
Fix experimental properties generation, bump style spec (#2399)
1 parent cfe53d0 commit 09260ff

37 files changed

+1036
-350
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Mapbox welcomes participation and contributions from everyone.
44

55
## main
66

7+
* Mark `SymbolElevationReference`, `FillExtrusionBaseAlignment`, `FillExtrusionHeightAlignment`, `ModelScaleMode`, `ModelType`, `ClipLayerTypes`, `BackgroundPitchAlignment` types as Experimental. Initially they were exposed as stable by mistake. If you use them, please import `MapboxMaps` with `Experimental` SPI:
8+
```
9+
@_spi(Experimental) import MapboxMaps
10+
```
11+
712
* Localize geofencing attribution dialog.
813
* Support dictionary expression literals.
914

Sources/MapboxMaps/ContentBuilders/MapContent/Puck3D.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ public struct Puck3D: MapContent, PrimitiveMapContent {
4848
}
4949

5050
/// Defines scaling mode. Only applies to location-indicator type layers. Defaults to ``ModelScaleMode/viewport``.
51+
@_documentation(visibility: public)
52+
@_spi(Experimental)
5153
public func modelScaleMode(_ modelScaleMode: ModelScaleMode) -> Puck3D {
5254
copyAssigned(self, \.configuration.modelScaleMode, .constant(modelScaleMode))
5355
}

Sources/MapboxMaps/Documentation.docc/API Catalogs/Layer Property Values.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
- ``BackgroundPitchAlignment``
4646
- ``FillExtrusionBaseAlignment``
4747
- ``FillExtrusionHeightAlignment``
48+
- ``FillElevationReference``
49+
- ``LineElevationReference``
50+
- ``LineWidthUnit``
4851

4952
<!-- Next two are arguable regarding it's category -->
5053
- ``ImageContent``

Sources/MapboxMaps/Style/Generated/Expressions/AllExpressions.swift

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/MapboxMaps/Style/Generated/Layers/BackgroundLayer.swift

Lines changed: 9 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/MapboxMaps/Style/Generated/Layers/CircleLayer.swift

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/MapboxMaps/Style/Generated/Layers/FillExtrusionLayer.swift

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)