@feltmaps/js-sdk 1.5.0-next.18 → 1.5.0-next.19
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/client.cjs +1 -1
- package/dist/client.d.cts +14 -11
- package/dist/client.d.ts +14 -11
- package/dist/client.js +1 -1
- package/dist/handler.cjs +1 -1
- package/dist/handler.d.cts +80 -104
- package/dist/handler.d.ts +80 -104
- package/dist/handler.js +1 -1
- package/dist/{types-Cy5ifEPb.d.cts → types-BQxcl9Qq.d.cts} +278 -131
- package/dist/{types-Cy5ifEPb.d.ts → types-BQxcl9Qq.d.ts} +278 -131
- package/handler.d.ts +80 -104
- package/handler.js +1 -1
- package/package.json +1 -1
- package/{types-Cy5ifEPb.d.ts → types-BQxcl9Qq.d.ts} +278 -131
|
@@ -3872,8 +3872,10 @@ interface HighlighterElementCreate extends zInfer<typeof HighlighterCreateSchema
|
|
|
3872
3872
|
coordinates: LngLatTuple[][][];
|
|
3873
3873
|
}
|
|
3874
3874
|
interface TextElementCreate extends zInfer<typeof TextCreateSchema> {
|
|
3875
|
+
position: LngLatTuple;
|
|
3875
3876
|
}
|
|
3876
3877
|
interface NoteElementCreate extends zInfer<typeof NoteCreateSchema> {
|
|
3878
|
+
position: LngLatTuple;
|
|
3877
3879
|
}
|
|
3878
3880
|
interface ImageElementCreate extends zInfer<typeof ImageCreateSchema> {
|
|
3879
3881
|
}
|
|
@@ -4117,9 +4119,11 @@ type RasterValue = {
|
|
|
4117
4119
|
type LayerProcessingStatus = z.infer<typeof LayerProcessingStatusSchema>;
|
|
4118
4120
|
declare const LayerProcessingStatusSchema: z.ZodEnum<["processing", "completed", "failed", "incomplete"]>;
|
|
4119
4121
|
/**
|
|
4122
|
+
* The common properties for all layers.
|
|
4123
|
+
*
|
|
4120
4124
|
* @group Layers
|
|
4121
4125
|
*/
|
|
4122
|
-
interface
|
|
4126
|
+
interface LayerCommon {
|
|
4123
4127
|
/**
|
|
4124
4128
|
* The string identifying the layer
|
|
4125
4129
|
*/
|
|
@@ -4166,22 +4170,6 @@ interface Layer {
|
|
|
4166
4170
|
* The current processing status of the layer.
|
|
4167
4171
|
*/
|
|
4168
4172
|
status: LayerProcessingStatus;
|
|
4169
|
-
/**
|
|
4170
|
-
* The geometry type of the layer.
|
|
4171
|
-
*
|
|
4172
|
-
* @remarks
|
|
4173
|
-
* This will generally be one of:
|
|
4174
|
-
* - `"Point"`
|
|
4175
|
-
* - `"Line"`
|
|
4176
|
-
* - `"Polygon"`
|
|
4177
|
-
* - `"Raster"`
|
|
4178
|
-
* - `null`
|
|
4179
|
-
*
|
|
4180
|
-
* When the layer is processing, or it is a data-only layer, it will be null. You should
|
|
4181
|
-
* expect this to be able to be any string, however, as more geometry types can be added
|
|
4182
|
-
* in the future.
|
|
4183
|
-
*/
|
|
4184
|
-
geometryType: string | null;
|
|
4185
4173
|
/**
|
|
4186
4174
|
* The bounding box of the layer in [west, south, east, north] order
|
|
4187
4175
|
*
|
|
@@ -4193,6 +4181,193 @@ interface Layer {
|
|
|
4193
4181
|
*/
|
|
4194
4182
|
bounds: FeltBoundary | null;
|
|
4195
4183
|
}
|
|
4184
|
+
/**
|
|
4185
|
+
* @group Layers
|
|
4186
|
+
*/
|
|
4187
|
+
type Layer = RasterLayer | VectorLayer | DataOnlyLayer;
|
|
4188
|
+
/**
|
|
4189
|
+
* A raster layer is a layer that contains raster data that can be rendered on the map
|
|
4190
|
+
*
|
|
4191
|
+
* @group Layers
|
|
4192
|
+
*/
|
|
4193
|
+
interface RasterLayer extends LayerCommon {
|
|
4194
|
+
/**
|
|
4195
|
+
* Identifies the type of geometry in the layer.
|
|
4196
|
+
*/
|
|
4197
|
+
geometryType: "Raster";
|
|
4198
|
+
/**
|
|
4199
|
+
* The source of the raster layer's data.
|
|
4200
|
+
*/
|
|
4201
|
+
source: RasterLayerSource;
|
|
4202
|
+
}
|
|
4203
|
+
/**
|
|
4204
|
+
* The source of a raster layer's data.
|
|
4205
|
+
*
|
|
4206
|
+
* @group Layer sources
|
|
4207
|
+
*/
|
|
4208
|
+
interface RasterLayerSource {
|
|
4209
|
+
/**
|
|
4210
|
+
* A URL template for fetching image tiles for the raster.
|
|
4211
|
+
*/
|
|
4212
|
+
imageTileTemplateUrl: string;
|
|
4213
|
+
/**
|
|
4214
|
+
* A URL template for fetching encoded tiles for the raster.
|
|
4215
|
+
*
|
|
4216
|
+
* The encoded raster value can be calculated from the red, green, and blue values of the pixel
|
|
4217
|
+
* using the following formula:
|
|
4218
|
+
*
|
|
4219
|
+
* ```
|
|
4220
|
+
* base + ((RED << 16) + (GREEN <<8) + BLUE) * interval
|
|
4221
|
+
* ```
|
|
4222
|
+
* or
|
|
4223
|
+
* ```
|
|
4224
|
+
* base + (RED * 256 * 256 + GREEN * 256 + BLUE) * interval
|
|
4225
|
+
* ```
|
|
4226
|
+
*/
|
|
4227
|
+
encodedTileTemplateUrl: string;
|
|
4228
|
+
/**
|
|
4229
|
+
* List of encoded raster bands
|
|
4230
|
+
*/
|
|
4231
|
+
bands: Array<RasterBand>;
|
|
4232
|
+
}
|
|
4233
|
+
/**
|
|
4234
|
+
* The RasterBand interface describes the metadata for a raster band, necessary for
|
|
4235
|
+
* calculating the encoded raster value from the red, green, and blue values of the pixel.
|
|
4236
|
+
*
|
|
4237
|
+
* @group Layer sources
|
|
4238
|
+
*/
|
|
4239
|
+
interface RasterBand {
|
|
4240
|
+
/**
|
|
4241
|
+
* Encoding base value as a floating point number
|
|
4242
|
+
*/
|
|
4243
|
+
base: number;
|
|
4244
|
+
/**
|
|
4245
|
+
* Encoding interval as a floating point number
|
|
4246
|
+
*/
|
|
4247
|
+
interval: number;
|
|
4248
|
+
/**
|
|
4249
|
+
* 1-based index of the band in the raster
|
|
4250
|
+
*/
|
|
4251
|
+
bandIndex: number;
|
|
4252
|
+
}
|
|
4253
|
+
/**
|
|
4254
|
+
* A vector layer is a layer that contains vector data that can be rendered on the map
|
|
4255
|
+
*
|
|
4256
|
+
* @group Layers
|
|
4257
|
+
*/
|
|
4258
|
+
interface VectorLayer extends LayerCommon {
|
|
4259
|
+
/**
|
|
4260
|
+
* Identifies the type of geometry in the layer.
|
|
4261
|
+
*/
|
|
4262
|
+
geometryType: "Point" | "Line" | "Polygon";
|
|
4263
|
+
/**
|
|
4264
|
+
* The source of the vector layer's data.
|
|
4265
|
+
*/
|
|
4266
|
+
source: FeltTiledVectorSource | GeoJsonUrlVectorSource | Omit<GeoJsonDataVectorSource, "data">;
|
|
4267
|
+
}
|
|
4268
|
+
/**
|
|
4269
|
+
* A tiled vector source is a layer that is populated from data the has been uploaded
|
|
4270
|
+
* to Felt, and processed into vector tiles.
|
|
4271
|
+
*
|
|
4272
|
+
* @group Layer sources
|
|
4273
|
+
*/
|
|
4274
|
+
type FeltTiledVectorSource = {
|
|
4275
|
+
/**
|
|
4276
|
+
* Identifies this as a tiled vector source. Typically, these tiles will have been
|
|
4277
|
+
* uploaded to and processed by Felt.
|
|
4278
|
+
*/
|
|
4279
|
+
type: "felt";
|
|
4280
|
+
/**
|
|
4281
|
+
* The template URL used for fetching tiles.
|
|
4282
|
+
*/
|
|
4283
|
+
tileTemplateUrl: string;
|
|
4284
|
+
};
|
|
4285
|
+
declare const GeoJsonUrlVectorSourceSchema: z.ZodObject<{
|
|
4286
|
+
/**
|
|
4287
|
+
* Identifies this as a GeoJSON URL source.
|
|
4288
|
+
*/
|
|
4289
|
+
type: z.ZodLiteral<"geoJsonUrl">;
|
|
4290
|
+
/**
|
|
4291
|
+
* The remote URL of the GeoJSON file used to populate the layer.
|
|
4292
|
+
*/
|
|
4293
|
+
url: z.ZodString;
|
|
4294
|
+
}, "strip", z.ZodTypeAny, {
|
|
4295
|
+
type: "geoJsonUrl";
|
|
4296
|
+
url: string;
|
|
4297
|
+
}, {
|
|
4298
|
+
type: "geoJsonUrl";
|
|
4299
|
+
url: string;
|
|
4300
|
+
}>;
|
|
4301
|
+
/**
|
|
4302
|
+
* A GeoJSON URL source is a layer that is populated from a GeoJSON file at a remote URL.
|
|
4303
|
+
*
|
|
4304
|
+
* These sources are ones that have not been uploaded to and processed by Felt, and as such
|
|
4305
|
+
* their capabilities are limited.
|
|
4306
|
+
*
|
|
4307
|
+
* For instance, they cannot be filtered, nor can statistics be fetched for them.
|
|
4308
|
+
*
|
|
4309
|
+
* @group Layer sources
|
|
4310
|
+
*/
|
|
4311
|
+
interface GeoJsonUrlVectorSource extends zInfer<typeof GeoJsonUrlVectorSourceSchema> {
|
|
4312
|
+
}
|
|
4313
|
+
/**
|
|
4314
|
+
* A GeoJSON data source is a layer that is populated from GeoJSON data, such as
|
|
4315
|
+
* from a local file, or programatically-created data.
|
|
4316
|
+
*
|
|
4317
|
+
* @group Layer sources
|
|
4318
|
+
*/
|
|
4319
|
+
interface GeoJsonDataVectorSource {
|
|
4320
|
+
/**
|
|
4321
|
+
* Identifies this as a GeoJSON data source.
|
|
4322
|
+
*/
|
|
4323
|
+
type: "geoJsonData";
|
|
4324
|
+
/**
|
|
4325
|
+
* The GeoJSON data for the layer.
|
|
4326
|
+
*/
|
|
4327
|
+
data: object;
|
|
4328
|
+
}
|
|
4329
|
+
declare const GeoJsonFileVectorSourceSchema: z.ZodObject<{
|
|
4330
|
+
/**
|
|
4331
|
+
* Identifies this as a GeoJSON file source.
|
|
4332
|
+
*/
|
|
4333
|
+
type: z.ZodLiteral<"geoJsonFile">;
|
|
4334
|
+
/**
|
|
4335
|
+
* The GeoJSON file for the layer.
|
|
4336
|
+
*/
|
|
4337
|
+
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
4338
|
+
}, "strip", z.ZodTypeAny, {
|
|
4339
|
+
type: "geoJsonFile";
|
|
4340
|
+
file: File;
|
|
4341
|
+
}, {
|
|
4342
|
+
type: "geoJsonFile";
|
|
4343
|
+
file: File;
|
|
4344
|
+
}>;
|
|
4345
|
+
/**
|
|
4346
|
+
* A GeoJSON file source is a layer that is populated from a GeoJSON file
|
|
4347
|
+
* on your local machine.
|
|
4348
|
+
*
|
|
4349
|
+
* This is an input-only type. It is converted to a {@link GeoJsonDataVectorSource}
|
|
4350
|
+
* when passed to {@link LayersController.createLayersFromGeoJson}.
|
|
4351
|
+
*
|
|
4352
|
+
* @group Layer sources
|
|
4353
|
+
*/
|
|
4354
|
+
interface GeoJsonFileVectorSource extends zInfer<typeof GeoJsonFileVectorSourceSchema> {
|
|
4355
|
+
}
|
|
4356
|
+
/**
|
|
4357
|
+
* A data-only layer doesn't have any geometry, but can be used to join with other layers
|
|
4358
|
+
*
|
|
4359
|
+
* @group Layers
|
|
4360
|
+
*/
|
|
4361
|
+
interface DataOnlyLayer extends LayerCommon {
|
|
4362
|
+
/**
|
|
4363
|
+
* Indicates that this layer has no geometry.
|
|
4364
|
+
*/
|
|
4365
|
+
geometryType: null;
|
|
4366
|
+
/**
|
|
4367
|
+
* This is always null for data-only layers.
|
|
4368
|
+
*/
|
|
4369
|
+
bounds: null;
|
|
4370
|
+
}
|
|
4196
4371
|
/**
|
|
4197
4372
|
* @group Layer Groups
|
|
4198
4373
|
*/
|
|
@@ -4636,7 +4811,59 @@ interface LayerSchemaDateTimeAttribute extends LayerSchemaCommonAttribute {
|
|
|
4636
4811
|
count: number;
|
|
4637
4812
|
}>;
|
|
4638
4813
|
}
|
|
4639
|
-
|
|
4814
|
+
/**
|
|
4815
|
+
* The parameters for the {@link LayersController.createLayersFromGeoJson} method.
|
|
4816
|
+
*
|
|
4817
|
+
* @group Layers
|
|
4818
|
+
*/
|
|
4819
|
+
declare const CreateLayersFromGeoJsonSchema: z.ZodObject<{
|
|
4820
|
+
source: z.ZodUnion<[z.ZodObject<{
|
|
4821
|
+
/**
|
|
4822
|
+
* Identifies this as a GeoJSON URL source.
|
|
4823
|
+
*/
|
|
4824
|
+
type: z.ZodLiteral<"geoJsonUrl">;
|
|
4825
|
+
/**
|
|
4826
|
+
* The remote URL of the GeoJSON file used to populate the layer.
|
|
4827
|
+
*/
|
|
4828
|
+
url: z.ZodString;
|
|
4829
|
+
}, "strip", z.ZodTypeAny, {
|
|
4830
|
+
type: "geoJsonUrl";
|
|
4831
|
+
url: string;
|
|
4832
|
+
}, {
|
|
4833
|
+
type: "geoJsonUrl";
|
|
4834
|
+
url: string;
|
|
4835
|
+
}>, z.ZodObject<{
|
|
4836
|
+
type: z.ZodLiteral<"geoJsonData">;
|
|
4837
|
+
data: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
4838
|
+
}, "strip", z.ZodTypeAny, {
|
|
4839
|
+
type: "geoJsonData";
|
|
4840
|
+
data: {} & {
|
|
4841
|
+
[k: string]: unknown;
|
|
4842
|
+
};
|
|
4843
|
+
}, {
|
|
4844
|
+
type: "geoJsonData";
|
|
4845
|
+
data: {} & {
|
|
4846
|
+
[k: string]: unknown;
|
|
4847
|
+
};
|
|
4848
|
+
}>, z.ZodObject<{
|
|
4849
|
+
/**
|
|
4850
|
+
* Identifies this as a GeoJSON file source.
|
|
4851
|
+
*/
|
|
4852
|
+
type: z.ZodLiteral<"geoJsonFile">;
|
|
4853
|
+
/**
|
|
4854
|
+
* The GeoJSON file for the layer.
|
|
4855
|
+
*/
|
|
4856
|
+
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
4857
|
+
}, "strip", z.ZodTypeAny, {
|
|
4858
|
+
type: "geoJsonFile";
|
|
4859
|
+
file: File;
|
|
4860
|
+
}, {
|
|
4861
|
+
type: "geoJsonFile";
|
|
4862
|
+
file: File;
|
|
4863
|
+
}>]>;
|
|
4864
|
+
/**
|
|
4865
|
+
* The name of the layer to create.
|
|
4866
|
+
*/
|
|
4640
4867
|
name: z.ZodString;
|
|
4641
4868
|
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
4642
4869
|
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4653,6 +4880,18 @@ declare const EphemeralLayerSourceSchema: z.ZodObject<{
|
|
|
4653
4880
|
}>>;
|
|
4654
4881
|
}, "strip", z.ZodTypeAny, {
|
|
4655
4882
|
name: string;
|
|
4883
|
+
source: {
|
|
4884
|
+
type: "geoJsonUrl";
|
|
4885
|
+
url: string;
|
|
4886
|
+
} | {
|
|
4887
|
+
type: "geoJsonData";
|
|
4888
|
+
data: {} & {
|
|
4889
|
+
[k: string]: unknown;
|
|
4890
|
+
};
|
|
4891
|
+
} | {
|
|
4892
|
+
type: "geoJsonFile";
|
|
4893
|
+
file: File;
|
|
4894
|
+
};
|
|
4656
4895
|
geometryStyles?: {
|
|
4657
4896
|
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4658
4897
|
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -4660,13 +4899,29 @@ declare const EphemeralLayerSourceSchema: z.ZodObject<{
|
|
|
4660
4899
|
} | undefined;
|
|
4661
4900
|
}, {
|
|
4662
4901
|
name: string;
|
|
4902
|
+
source: {
|
|
4903
|
+
type: "geoJsonUrl";
|
|
4904
|
+
url: string;
|
|
4905
|
+
} | {
|
|
4906
|
+
type: "geoJsonData";
|
|
4907
|
+
data: {} & {
|
|
4908
|
+
[k: string]: unknown;
|
|
4909
|
+
};
|
|
4910
|
+
} | {
|
|
4911
|
+
type: "geoJsonFile";
|
|
4912
|
+
file: File;
|
|
4913
|
+
};
|
|
4663
4914
|
geometryStyles?: {
|
|
4664
4915
|
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4665
4916
|
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4666
4917
|
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4667
4918
|
} | undefined;
|
|
4668
4919
|
}>;
|
|
4669
|
-
interface
|
|
4920
|
+
interface CreateLayersFromGeoJsonParams extends Omit<zInfer<typeof CreateLayersFromGeoJsonSchema>, "source" | "geometryStyles"> {
|
|
4921
|
+
/**
|
|
4922
|
+
* The source of the GeoJSON data.
|
|
4923
|
+
*/
|
|
4924
|
+
source: GeoJsonDataVectorSource | GeoJsonFileVectorSource | GeoJsonUrlVectorSource;
|
|
4670
4925
|
/**
|
|
4671
4926
|
* The styles to apply to each geometry on the layer.
|
|
4672
4927
|
*
|
|
@@ -4696,119 +4951,11 @@ interface EphemeralLayerSource extends zInfer<typeof EphemeralLayerSourceSchema>
|
|
|
4696
4951
|
* ```
|
|
4697
4952
|
*/
|
|
4698
4953
|
geometryStyles?: {
|
|
4699
|
-
Point?:
|
|
4700
|
-
Line?:
|
|
4701
|
-
Polygon?:
|
|
4954
|
+
Point?: object;
|
|
4955
|
+
Line?: object;
|
|
4956
|
+
Polygon?: object;
|
|
4702
4957
|
};
|
|
4703
4958
|
}
|
|
4704
|
-
declare const GeoJsonFileSourceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
4705
|
-
name: z.ZodString;
|
|
4706
|
-
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
4707
|
-
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4708
|
-
Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4709
|
-
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4710
|
-
}, "strip", z.ZodTypeAny, {
|
|
4711
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4712
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4713
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4714
|
-
}, {
|
|
4715
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4716
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4717
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4718
|
-
}>>;
|
|
4719
|
-
}, {
|
|
4720
|
-
file: z.ZodType<File, z.ZodTypeDef, File>;
|
|
4721
|
-
}>, "strip", z.ZodTypeAny, {
|
|
4722
|
-
name: string;
|
|
4723
|
-
file: File;
|
|
4724
|
-
geometryStyles?: {
|
|
4725
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4726
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4727
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4728
|
-
} | undefined;
|
|
4729
|
-
}, {
|
|
4730
|
-
name: string;
|
|
4731
|
-
file: File;
|
|
4732
|
-
geometryStyles?: {
|
|
4733
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4734
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4735
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4736
|
-
} | undefined;
|
|
4737
|
-
}>;
|
|
4738
|
-
interface GeoJsonFileSource extends Omit<zInfer<typeof GeoJsonFileSourceSchema>, "geometryStyles">, EphemeralLayerSource {
|
|
4739
|
-
}
|
|
4740
|
-
declare const GeoJsonUrlSourceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
4741
|
-
name: z.ZodString;
|
|
4742
|
-
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
4743
|
-
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4744
|
-
Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4745
|
-
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4746
|
-
}, "strip", z.ZodTypeAny, {
|
|
4747
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4748
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4749
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4750
|
-
}, {
|
|
4751
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4752
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4753
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4754
|
-
}>>;
|
|
4755
|
-
}, {
|
|
4756
|
-
url: z.ZodString;
|
|
4757
|
-
}>, "strip", z.ZodTypeAny, {
|
|
4758
|
-
name: string;
|
|
4759
|
-
url: string;
|
|
4760
|
-
geometryStyles?: {
|
|
4761
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4762
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4763
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4764
|
-
} | undefined;
|
|
4765
|
-
}, {
|
|
4766
|
-
name: string;
|
|
4767
|
-
url: string;
|
|
4768
|
-
geometryStyles?: {
|
|
4769
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4770
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4771
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4772
|
-
} | undefined;
|
|
4773
|
-
}>;
|
|
4774
|
-
interface GeoJsonUrlSource extends Omit<zInfer<typeof GeoJsonUrlSourceSchema>, "geometryStyles">, EphemeralLayerSource {
|
|
4775
|
-
}
|
|
4776
|
-
declare const GeoJsonArrayBufferSourceSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
4777
|
-
name: z.ZodString;
|
|
4778
|
-
geometryStyles: z.ZodOptional<z.ZodObject<{
|
|
4779
|
-
Point: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4780
|
-
Line: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4781
|
-
Polygon: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4782
|
-
}, "strip", z.ZodTypeAny, {
|
|
4783
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4784
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4785
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4786
|
-
}, {
|
|
4787
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4788
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4789
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4790
|
-
}>>;
|
|
4791
|
-
}, {
|
|
4792
|
-
arrayBuffer: z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>;
|
|
4793
|
-
}>, "strip", z.ZodTypeAny, {
|
|
4794
|
-
name: string;
|
|
4795
|
-
arrayBuffer: ArrayBuffer;
|
|
4796
|
-
geometryStyles?: {
|
|
4797
|
-
Point?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4798
|
-
Polygon?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4799
|
-
Line?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4800
|
-
} | undefined;
|
|
4801
|
-
}, {
|
|
4802
|
-
name: string;
|
|
4803
|
-
arrayBuffer: ArrayBuffer;
|
|
4804
|
-
geometryStyles?: {
|
|
4805
|
-
Point?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4806
|
-
Polygon?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4807
|
-
Line?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4808
|
-
} | undefined;
|
|
4809
|
-
}>;
|
|
4810
|
-
interface GeoJsonArrayBufferSource extends Omit<zInfer<typeof GeoJsonArrayBufferSourceSchema>, "geometryStyles">, EphemeralLayerSource {
|
|
4811
|
-
}
|
|
4812
4959
|
|
|
4813
4960
|
/**
|
|
4814
4961
|
* @group Filters
|
|
@@ -6227,4 +6374,4 @@ declare const ViewportFitBoundsParamsSchema: z.ZodObject<{
|
|
|
6227
6374
|
bounds: [number, number, number, number];
|
|
6228
6375
|
}>;
|
|
6229
6376
|
|
|
6230
|
-
export type {
|
|
6377
|
+
export type { HighlighterElementRead as $, AggregationMethod as A, MapDetails as B, CreateLayersFromGeoJsonParams as C, EntityNode as D, Element as E, Filters as F, GeoJsonGeometry as G, FeatureSelection as H, InputToolSettings as I, ConfigurableToolType as J, ToolSettingsMap as K, Layer as L, MapInteractionEvent as M, ToolSettingsChangeEvent as N, zInfer as O, SortConfig as P, SetViewportCenterZoomParams as Q, ViewportConstraints as R, SetVisibilityRequest as S, ToolType as T, ViewportFitBoundsParams as U, ViewportState as V, ViewportCenterZoom as W, CircleElementCreate as X, CircleElementRead as Y, CircleElementUpdate as Z, HighlighterElementCreate as _, GetElementsConstraint as a, PointGeometry as a$, HighlighterElementUpdate as a0, ImageElementCreate as a1, ImageElementRead as a2, ImageElementUpdate as a3, LinkElementRead as a4, MarkerElementCreate as a5, MarkerElementRead as a6, MarkerElementUpdate as a7, NoteElementCreate as a8, NoteElementRead as a9, LayerSchemaBooleanAttribute as aA, LayerSchemaCommonAttribute as aB, LayerSchemaDateAttribute as aC, LayerSchemaDateTimeAttribute as aD, LayerSchemaNumericAttribute as aE, LayerSchemaTextAttribute as aF, FilterExpression as aG, FilterLogicGate as aH, FilterTernary as aI, AggregationConfig as aJ, GeometryFilter as aK, MultiAggregationConfig as aL, ValueConfiguration as aM, ElementGroupNode as aN, ElementNode as aO, FeatureNode as aP, LayerGroupNode as aQ, LayerNode as aR, FeltBoundary as aS, FeltZoom as aT, GeoJsonProperties as aU, LatLng as aV, LineStringGeometry as aW, LngLatTuple as aX, MultiLineStringGeometry as aY, MultiPointGeometry as aZ, MultiPolygonGeometry as a_, NoteElementUpdate as aa, PathElementCreate as ab, PathElementRead as ac, PathElementUpdate as ad, PlaceElementCreate as ae, PlaceElementRead as af, PlaceElementUpdate as ag, PolygonElementCreate as ah, PolygonElementRead as ai, PolygonElementUpdate as aj, TextElementCreate as ak, TextElementRead as al, TextElementUpdate as am, DataOnlyLayer as an, FeltTiledVectorSource as ao, GeoJsonDataVectorSource as ap, GeoJsonFileVectorSource as aq, GeoJsonUrlVectorSource as ar, LayerCommon as as, LayerProcessingStatus as at, RasterBand as au, RasterLayer as av, RasterLayerSource as aw, RasterValue as ax, VectorLayer as ay, LayerSchemaAttribute as az, ElementGroup as b, PolygonGeometry as b0, SortDirection as b1, CircleToolSettings as b2, HighlighterToolSettings as b3, LineToolSettings as b4, MarkerToolSettings as b5, NoteToolSettings as b6, PinToolSettings as b7, PlaceFrame as b8, PlaceSymbol as b9, PolygonToolSettings as ba, RouteToolSettings as bb, TextToolSettings as bc, UnionToIntersection as bd, PromiseOrNot as be, GetElementGroupsConstraint as c, ElementChangeCallbackParams as d, ElementGroupChangeCallbackParams as e, ElementCreate as f, ElementUpdate as g, GetLayersConstraint as h, LayerChangeCallbackParams as i, LayerGroup as j, GetLayerGroupsConstraint as k, LayerGroupChangeCallbackParams as l, LegendItemIdentifier as m, LegendItem as n, LegendItemsConstraint as o, LegendItemChangeCallbackParams as p, LayerFilters as q, GetRenderedFeaturesConstraint as r, LayerFeature as s, GeoJsonFeature as t, GetLayerCategoriesParams as u, GetLayerCategoriesGroup as v, GetLayerHistogramParams as w, GetLayerHistogramBin as x, GetLayerCalculationParams as y, LayerSchema as z };
|