@artstesh/maps 9.1.0-alpha.1 → 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
@@ -1108,6 +1108,18 @@ declare class GeotiffTileLayerSettings {
1108
1108
  * The priority of showing - layers with higher zIndex cover others in case of collisions
1109
1109
  */
1110
1110
  zIndex: number;
1111
+ /**
1112
+ * Represents the size of a block in a specific context, typically used to define dimensions or capacity.
1113
+ *
1114
+ * Optional property that, if defined, specifies the numerical value for the block size.
1115
+ *
1116
+ * @type {number|undefined}
1117
+ */
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;
1111
1123
  /**
1112
1124
  * Creates a copy of the given tile layer settings.
1113
1125
  *
@@ -1122,6 +1134,13 @@ declare class GeotiffTileLayerSettings {
1122
1134
  * @return {GeotiffTileLayerSettings} - The updated GeotiffTileLayerSettings object.
1123
1135
  */
1124
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;
1125
1144
  /**
1126
1145
  * Updates the style settings for the GeotiffTileLayerSettings and returns a new instance with the updated style.
1127
1146
  *
@@ -1157,6 +1176,13 @@ declare class GeotiffTileLayerSettings {
1157
1176
  * @return {GeotiffTileLayerSettings} - A new instance of GeotiffTileLayerSettings with the opacity set.
1158
1177
  */
1159
1178
  setOpacity(opacity: number): GeotiffTileLayerSettings;
1179
+ /**
1180
+ * Sets the block size for the GeoTIFF tile layer.
1181
+ *
1182
+ * @param {number} blockSize - The size of the block to be set. This value typically defines the number of pixels for determining how data is grouped in tiles.
1183
+ * @return {GeotiffTileLayerSettings} A new instance of `GeotiffTileLayerSettings` with the updated block size.
1184
+ */
1185
+ setBlockSize(blockSize: number): GeotiffTileLayerSettings;
1160
1186
  /**
1161
1187
  * Checks if the current instance of GeotiffTileLayerSettings is equal to the given model.
1162
1188
  * @param {GeotiffTileLayerSettings} model - The model to compare against.
@@ -1108,6 +1108,18 @@ declare class GeotiffTileLayerSettings {
1108
1108
  * The priority of showing - layers with higher zIndex cover others in case of collisions
1109
1109
  */
1110
1110
  zIndex: number;
1111
+ /**
1112
+ * Represents the size of a block in a specific context, typically used to define dimensions or capacity.
1113
+ *
1114
+ * Optional property that, if defined, specifies the numerical value for the block size.
1115
+ *
1116
+ * @type {number|undefined}
1117
+ */
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;
1111
1123
  /**
1112
1124
  * Creates a copy of the given tile layer settings.
1113
1125
  *
@@ -1122,6 +1134,13 @@ declare class GeotiffTileLayerSettings {
1122
1134
  * @return {GeotiffTileLayerSettings} - The updated GeotiffTileLayerSettings object.
1123
1135
  */
1124
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;
1125
1144
  /**
1126
1145
  * Updates the style settings for the GeotiffTileLayerSettings and returns a new instance with the updated style.
1127
1146
  *
@@ -1157,6 +1176,13 @@ declare class GeotiffTileLayerSettings {
1157
1176
  * @return {GeotiffTileLayerSettings} - A new instance of GeotiffTileLayerSettings with the opacity set.
1158
1177
  */
1159
1178
  setOpacity(opacity: number): GeotiffTileLayerSettings;
1179
+ /**
1180
+ * Sets the block size for the GeoTIFF tile layer.
1181
+ *
1182
+ * @param {number} blockSize - The size of the block to be set. This value typically defines the number of pixels for determining how data is grouped in tiles.
1183
+ * @return {GeotiffTileLayerSettings} A new instance of `GeotiffTileLayerSettings` with the updated block size.
1184
+ */
1185
+ setBlockSize(blockSize: number): GeotiffTileLayerSettings;
1160
1186
  /**
1161
1187
  * Checks if the current instance of GeotiffTileLayerSettings is equal to the given model.
1162
1188
  * @param {GeotiffTileLayerSettings} model - The model to compare against.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artstesh/maps",
3
- "version": "9.1.0-alpha.1",
3
+ "version": "9.1.0",
4
4
  "author": "artstesh",
5
5
  "license": "MIT",
6
6
  "description": "Let's draw a map ;)",