@@ -161,28 +161,28 @@ export type IAzureMapEvent = {
161
161
export type IAzureDataSourceStatefulProviderProps = {
162
162
id : string
163
163
children ?:
164
- | Array < IAzureDataSourceChildren | IAzureDataSourceChildren [ ] | null >
165
- | IAzureDataSourceChildren
166
- | null
164
+ | Array < IAzureDataSourceChildren | IAzureDataSourceChildren [ ] | null >
165
+ | IAzureDataSourceChildren
166
+ | null
167
167
options ?: DataSourceOptions
168
168
events ?: IAzureMapDataSourceEvent | any
169
169
dataFromUrl ?: string
170
170
collection ?:
171
- | atlas . data . FeatureCollection
172
- | atlas . data . Feature < atlas . data . Geometry , any >
173
- | atlas . data . Geometry
174
- | atlas . data . GeometryCollection
175
- | Shape
176
- | Array < atlas . data . Feature < atlas . data . Geometry , any > | atlas . data . Geometry | Shape >
171
+ | atlas . data . FeatureCollection
172
+ | atlas . data . Feature < atlas . data . Geometry , any >
173
+ | atlas . data . Geometry
174
+ | atlas . data . GeometryCollection
175
+ | Shape
176
+ | Array < atlas . data . Feature < atlas . data . Geometry , any > | atlas . data . Geometry | Shape >
177
177
index ?: number
178
178
}
179
179
180
180
export type IAzureVectorTileSourceStatefulProviderProps = {
181
181
id : string
182
182
children ?:
183
- | Array < IAzureVectorTileSourceChildren | IAzureVectorTileSourceChildren [ ] | null >
184
- | IAzureVectorTileSourceChildren
185
- | null
183
+ | Array < IAzureVectorTileSourceChildren | IAzureVectorTileSourceChildren [ ] | null >
184
+ | IAzureVectorTileSourceChildren
185
+ | null
186
186
options ?: VectorTileSourceOptions
187
187
events ?: IAzureMapVectorTileSourceEvent
188
188
// NOTE: not sure yet why this is needed, haven't seen this used in AzureMapsDataSource, though IAzureGeoJSONDataSourceStatefulProviderProps has it
@@ -202,16 +202,16 @@ export type IAzureMapLifecycleEvent = {
202
202
export type IAzureLayerStatefulProviderProps = {
203
203
id ?: string
204
204
options ?:
205
- | ( SymbolLayerOptions &
206
- HeatMapLayerOptions &
207
- ImageLayerOptions &
208
- LineLayerOptions &
209
- PolygonExtrusionLayerOptions &
210
- PolygonLayerOptions &
211
- TileLayerOptions &
212
- BubbleLayerOptions &
213
- LayerOptions )
214
- | Options
205
+ | ( SymbolLayerOptions &
206
+ HeatMapLayerOptions &
207
+ ImageLayerOptions &
208
+ LineLayerOptions &
209
+ PolygonExtrusionLayerOptions &
210
+ PolygonLayerOptions &
211
+ TileLayerOptions &
212
+ BubbleLayerOptions &
213
+ LayerOptions )
214
+ | Options
215
215
type : IAzureMapLayerType
216
216
events ?: IAzureMapLayerEvent | any
217
217
onCreateCustomLayer ?: ( dataSourceRef : DataSourceType , mapRef : MapType | null ) => atlas . layer . Layer
@@ -316,10 +316,10 @@ export type IAzureMapFeature = {
316
316
properties ?: Options
317
317
// Shape functions:
318
318
setCoords ?:
319
- | atlas . data . Position
320
- | atlas . data . Position [ ]
321
- | atlas . data . Position [ ] [ ]
322
- | atlas . data . Position [ ] [ ] [ ]
319
+ | atlas . data . Position
320
+ | atlas . data . Position [ ]
321
+ | atlas . data . Position [ ] [ ]
322
+ | atlas . data . Position [ ] [ ] [ ]
323
323
setProperties ?: Options
324
324
}
325
325
@@ -340,3 +340,4 @@ export type AzureDataLineString = atlas.data.LineString
340
340
export type AzureDataPosition = atlas . data . Position
341
341
export type ControlOptions = atlas . ControlOptions
342
342
export type AzureSetCameraOptions = ( ( CameraOptions | CameraBoundsOptions ) & AnimationOptions ) | any
343
+ export { AuthenticationType } from 'azure-maps-control'
0 commit comments