@artstesh/maps 9.1.0-alpha.2 → 9.1.1
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/fesm2022/maps-components-src-map.mjs +30 -1
- package/dist/fesm2022/maps-components-src-map.mjs.map +1 -1
- package/dist/fesm2022/maps-components.mjs +30 -1
- package/dist/fesm2022/maps-components.mjs.map +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/src/map/index.d.ts +16 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1116,6 +1116,14 @@ 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;
|
|
1123
|
+
/**
|
|
1124
|
+
* Values to discard (overriding any nodata values in the metadata). When provided, an additional alpha band will be added to the data. Often the GeoTIFF metadata will include information about nodata values, so you should only need to set this property if you find that it is not already extracted from the metadata.
|
|
1125
|
+
*/
|
|
1126
|
+
nodata?: number;
|
|
1119
1127
|
/**
|
|
1120
1128
|
* Creates a copy of the given tile layer settings.
|
|
1121
1129
|
*
|
|
@@ -1130,6 +1138,14 @@ declare class GeotiffTileLayerSettings {
|
|
|
1130
1138
|
* @return {GeotiffTileLayerSettings} - The updated GeotiffTileLayerSettings object.
|
|
1131
1139
|
*/
|
|
1132
1140
|
setUrl(url: string): GeotiffTileLayerSettings;
|
|
1141
|
+
setNodata(nodata: number | undefined): GeotiffTileLayerSettings;
|
|
1142
|
+
/**
|
|
1143
|
+
* Sets the normalize property for the GeotiffTileLayerSettings instance.
|
|
1144
|
+
*
|
|
1145
|
+
* @param {boolean} normalize - Indicates whether the normalization setting should be enabled or disabled.
|
|
1146
|
+
* @return {GeotiffTileLayerSettings} A new instance of GeotiffTileLayerSettings with the updated normalize property.
|
|
1147
|
+
*/
|
|
1148
|
+
setNormalize(normalize: boolean): GeotiffTileLayerSettings;
|
|
1133
1149
|
/**
|
|
1134
1150
|
* Updates the style settings for the GeotiffTileLayerSettings and returns a new instance with the updated style.
|
|
1135
1151
|
*
|
package/dist/src/map/index.d.ts
CHANGED
|
@@ -1116,6 +1116,14 @@ 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;
|
|
1123
|
+
/**
|
|
1124
|
+
* Values to discard (overriding any nodata values in the metadata). When provided, an additional alpha band will be added to the data. Often the GeoTIFF metadata will include information about nodata values, so you should only need to set this property if you find that it is not already extracted from the metadata.
|
|
1125
|
+
*/
|
|
1126
|
+
nodata?: number;
|
|
1119
1127
|
/**
|
|
1120
1128
|
* Creates a copy of the given tile layer settings.
|
|
1121
1129
|
*
|
|
@@ -1130,6 +1138,14 @@ declare class GeotiffTileLayerSettings {
|
|
|
1130
1138
|
* @return {GeotiffTileLayerSettings} - The updated GeotiffTileLayerSettings object.
|
|
1131
1139
|
*/
|
|
1132
1140
|
setUrl(url: string): GeotiffTileLayerSettings;
|
|
1141
|
+
setNodata(nodata: number | undefined): GeotiffTileLayerSettings;
|
|
1142
|
+
/**
|
|
1143
|
+
* Sets the normalize property for the GeotiffTileLayerSettings instance.
|
|
1144
|
+
*
|
|
1145
|
+
* @param {boolean} normalize - Indicates whether the normalization setting should be enabled or disabled.
|
|
1146
|
+
* @return {GeotiffTileLayerSettings} A new instance of GeotiffTileLayerSettings with the updated normalize property.
|
|
1147
|
+
*/
|
|
1148
|
+
setNormalize(normalize: boolean): GeotiffTileLayerSettings;
|
|
1133
1149
|
/**
|
|
1134
1150
|
* Updates the style settings for the GeotiffTileLayerSettings and returns a new instance with the updated style.
|
|
1135
1151
|
*
|