@mapbox/mapbox-gl-style-spec 14.7.1 → 14.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -513,6 +513,10 @@ type FillLayerSpecification = {
513
513
  "layout"?: {
514
514
  "fill-sort-key"?: DataDrivenPropertyValueSpecification<number>;
515
515
  "visibility"?: "visible" | "none" | ExpressionSpecification;
516
+ /**
517
+ * @experimental This property is experimental and subject to change in future versions.
518
+ */
519
+ "fill-elevation-reference"?: "none" | "hd-road-base" | "hd-road-markup" | ExpressionSpecification;
516
520
  };
517
521
  "paint"?: {
518
522
  "fill-antialias"?: PropertyValueSpecification<boolean>;
@@ -555,6 +559,14 @@ type LineLayerSpecification = {
555
559
  * @experimental This property is experimental and subject to change in future versions.
556
560
  */
557
561
  "line-z-offset"?: DataDrivenPropertyValueSpecification<number>;
562
+ /**
563
+ * @experimental This property is experimental and subject to change in future versions.
564
+ */
565
+ "line-elevation-reference"?: "none" | "sea" | "ground" | "hd-road-markup" | ExpressionSpecification;
566
+ /**
567
+ * @experimental This property is experimental and subject to change in future versions.
568
+ */
569
+ "line-cross-slope"?: ExpressionSpecification;
558
570
  "visibility"?: "visible" | "none" | ExpressionSpecification;
559
571
  };
560
572
  "paint"?: {
@@ -619,11 +631,19 @@ type SymbolLayerSpecification = {
619
631
  "symbol-sort-key"?: DataDrivenPropertyValueSpecification<number>;
620
632
  "symbol-z-order"?: PropertyValueSpecification<"auto" | "viewport-y" | "source">;
621
633
  "symbol-z-elevate"?: PropertyValueSpecification<boolean>;
634
+ /**
635
+ * @experimental This property is experimental and subject to change in future versions.
636
+ */
637
+ "symbol-elevation-reference"?: PropertyValueSpecification<"sea" | "ground" | "hd-road-markup">;
622
638
  "icon-allow-overlap"?: PropertyValueSpecification<boolean>;
623
639
  "icon-ignore-placement"?: PropertyValueSpecification<boolean>;
624
640
  "icon-optional"?: PropertyValueSpecification<boolean>;
625
641
  "icon-rotation-alignment"?: PropertyValueSpecification<"map" | "viewport" | "auto">;
626
642
  "icon-size"?: DataDrivenPropertyValueSpecification<number>;
643
+ /**
644
+ * @experimental This property is experimental and subject to change in future versions.
645
+ */
646
+ "icon-size-scale-range"?: ExpressionSpecification;
627
647
  "icon-text-fit"?: DataDrivenPropertyValueSpecification<"none" | "width" | "height" | "both">;
628
648
  "icon-text-fit-padding"?: DataDrivenPropertyValueSpecification<[
629
649
  number,
@@ -646,6 +666,10 @@ type SymbolLayerSpecification = {
646
666
  "text-field"?: DataDrivenPropertyValueSpecification<FormattedSpecification>;
647
667
  "text-font"?: DataDrivenPropertyValueSpecification<Array<string>>;
648
668
  "text-size"?: DataDrivenPropertyValueSpecification<number>;
669
+ /**
670
+ * @experimental This property is experimental and subject to change in future versions.
671
+ */
672
+ "text-size-scale-range"?: ExpressionSpecification;
649
673
  "text-max-width"?: DataDrivenPropertyValueSpecification<number>;
650
674
  "text-line-height"?: DataDrivenPropertyValueSpecification<number>;
651
675
  "text-letter-spacing"?: DataDrivenPropertyValueSpecification<number>;
@@ -717,10 +741,6 @@ type SymbolLayerSpecification = {
717
741
  "icon-color-brightness-max"?: ExpressionSpecification;
718
742
  "symbol-z-offset"?: DataDrivenPropertyValueSpecification<number>;
719
743
  "symbol-z-offset-transition"?: TransitionSpecification;
720
- /**
721
- * @experimental This property is experimental and subject to change in future versions.
722
- */
723
- "symbol-elevation-reference"?: PropertyValueSpecification<"sea" | "ground">;
724
744
  };
725
745
  };
726
746
  type CircleLayerSpecification = {
@@ -821,6 +841,14 @@ type FillExtrusionLayerSpecification = {
821
841
  "fill-extrusion-height-transition"?: TransitionSpecification;
822
842
  "fill-extrusion-base"?: DataDrivenPropertyValueSpecification<number>;
823
843
  "fill-extrusion-base-transition"?: TransitionSpecification;
844
+ /**
845
+ * @experimental This property is experimental and subject to change in future versions.
846
+ */
847
+ "fill-extrusion-height-alignment"?: "terrain" | "flat";
848
+ /**
849
+ * @experimental This property is experimental and subject to change in future versions.
850
+ */
851
+ "fill-extrusion-base-alignment"?: "terrain" | "flat";
824
852
  "fill-extrusion-vertical-gradient"?: PropertyValueSpecification<boolean>;
825
853
  "fill-extrusion-ambient-occlusion-intensity"?: PropertyValueSpecification<number>;
826
854
  "fill-extrusion-ambient-occlusion-intensity-transition"?: TransitionSpecification;
@@ -1509,6 +1537,7 @@ declare class StyleExpression {
1509
1537
  _enumValues?: {
1510
1538
  [_: string]: unknown;
1511
1539
  };
1540
+ configDependencies: Set<string>;
1512
1541
  constructor(expression: Expression, propertySpec?: StylePropertySpecification, scope?: string, options?: ConfigOptions);
1513
1542
  evaluateWithoutErrorHandling(globals: GlobalProperties, feature?: Feature, featureState?: FeatureState, canonical?: CanonicalTileID, availableImages?: Array<string>, formattedSection?: FormattedSection, featureTileCoord?: Point, featureDistanceData?: FeatureDistanceData): any;
1514
1543
  evaluate(globals: GlobalProperties, feature?: Feature, featureState?: FeatureState, canonical?: CanonicalTileID, availableImages?: Array<string>, formattedSection?: FormattedSection, featureTileCoord?: Point, featureDistanceData?: FeatureDistanceData): any;