@artstesh/maps 9.1.0-alpha.2 → 9.1.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
@@ -1116,6 +1116,10 @@ declare class GeotiffTileLayerSettings {
1116
1116
  * @type {number|undefined}
1117
1117
  */
1118
1118
  blockSize?: number;
1119
+ /**
1120
+ * By default, the source data is normalized to values between 0 and 1 with scaling factors based on the raster statistics or min and max properties of each source. If instead you want to work with the raw values in a style expression, set this to false. Setting this option to false will make it so any min and max properties on sources are ignored.
1121
+ */
1122
+ normalize?: boolean;
1119
1123
  /**
1120
1124
  * Creates a copy of the given tile layer settings.
1121
1125
  *
@@ -1130,6 +1134,13 @@ declare class GeotiffTileLayerSettings {
1130
1134
  * @return {GeotiffTileLayerSettings} - The updated GeotiffTileLayerSettings object.
1131
1135
  */
1132
1136
  setUrl(url: string): GeotiffTileLayerSettings;
1137
+ /**
1138
+ * Sets the normalize property for the GeotiffTileLayerSettings instance.
1139
+ *
1140
+ * @param {boolean} normalize - Indicates whether the normalization setting should be enabled or disabled.
1141
+ * @return {GeotiffTileLayerSettings} A new instance of GeotiffTileLayerSettings with the updated normalize property.
1142
+ */
1143
+ setNormalize(normalize: boolean): GeotiffTileLayerSettings;
1133
1144
  /**
1134
1145
  * Updates the style settings for the GeotiffTileLayerSettings and returns a new instance with the updated style.
1135
1146
  *
@@ -1116,6 +1116,10 @@ declare class GeotiffTileLayerSettings {
1116
1116
  * @type {number|undefined}
1117
1117
  */
1118
1118
  blockSize?: number;
1119
+ /**
1120
+ * By default, the source data is normalized to values between 0 and 1 with scaling factors based on the raster statistics or min and max properties of each source. If instead you want to work with the raw values in a style expression, set this to false. Setting this option to false will make it so any min and max properties on sources are ignored.
1121
+ */
1122
+ normalize?: boolean;
1119
1123
  /**
1120
1124
  * Creates a copy of the given tile layer settings.
1121
1125
  *
@@ -1130,6 +1134,13 @@ declare class GeotiffTileLayerSettings {
1130
1134
  * @return {GeotiffTileLayerSettings} - The updated GeotiffTileLayerSettings object.
1131
1135
  */
1132
1136
  setUrl(url: string): GeotiffTileLayerSettings;
1137
+ /**
1138
+ * Sets the normalize property for the GeotiffTileLayerSettings instance.
1139
+ *
1140
+ * @param {boolean} normalize - Indicates whether the normalization setting should be enabled or disabled.
1141
+ * @return {GeotiffTileLayerSettings} A new instance of GeotiffTileLayerSettings with the updated normalize property.
1142
+ */
1143
+ setNormalize(normalize: boolean): GeotiffTileLayerSettings;
1133
1144
  /**
1134
1145
  * Updates the style settings for the GeotiffTileLayerSettings and returns a new instance with the updated style.
1135
1146
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artstesh/maps",
3
- "version": "9.1.0-alpha.2",
3
+ "version": "9.1.0",
4
4
  "author": "artstesh",
5
5
  "license": "MIT",
6
6
  "description": "Let's draw a map ;)",