@mappedin/mappedin-js 6.0.1-beta.40 → 6.0.1-beta.42

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.
@@ -381,7 +381,7 @@ declare module '@mappedin/mappedin-js' {
381
381
  export { parseMVF, unzipMVF, enableTestMode, preloadFont, MAPPEDIN_COLORS };
382
382
  export type { MapView, MapData, MapViewState, MappedinMapLibreOverlay, TMappedinMapLibreOverlayEvents, TBlueDotEvents, TBlueDotAction, TBlueDotState, GeolocationPositionExtended, TStackedMapsEvents, TExpandOptions, TStackedMapsState, TFollowMode, TFollowCameraOptions, TEvents, TEventPayload, TFloorChangeReason, TClickPayload, THoverPayload, TShow3DMapOptions, TGetMapDataOptions, TGetMapDataWithAccessTokenOptions, TGetMapDataWithCredentialsOptions, TGetMapDataSharedOptions, TAntialiasingOptions, TMVF, PaintStyle, LineStyle, EnvMapOptions, Shading, TMVFStyleCollection, TMVFStyle, TMVFLineStringStyle, TMVFPolygonStyle, TMVFPointStyle, Environment, InsetPadding, InsetPaddingOption, OperationHours, SiblingGroup, LocationState, Text3DState, AddText3DOptions, UpdatableText3DState, InitializeText3DState, UpdateModelState, InitializeModelState, };
383
383
  export type * from 'geojson';
384
- export type { TUpdateState, TUpdateStates, TLabelState, TGeometryState, TModelState, TShapeState, TDoorsState, TImageState, TWallsState, TCameraAnimationOptions, TAnimationOptions, TFocusOnOptions, TEasingFunction, TCameraTarget, TNavigationTarget, TDirectionZone, TAddMarkerOptions, TAddPathOptions, TLabelAppearance, TAddLabelOptions, TAddModelOptions, TAddModel, TAddImageOptions, TGetDirectionsOptions, TCollisionRankingTier, TMarkerAnchor, TDirectionInstruction, TDirectionInstructionAction, TGetState, TMarkerState, TBlueDotOptions, TBlueDotPositionUpdate, TFocusTarget, IFocusable, IAnchorable, TMapDataObjectTypes, } from '@mappedin/mappedin-js/mappedin-js/src/types';
384
+ export type { TUpdateState, TUpdateStates, TLabelState, TGeometryState, TModelState, TShapeState, TDoorsState, TImageState, TWallsState, TCameraAnimationOptions, TAnimationOptions, TFocusOnOptions, TEasingFunction, TCameraTarget, TNavigationTarget, TDirectionZone, TAddMarkerOptions, TAddPathOptions, TLabelAppearance, TAddLabelOptions, TAddModelOptions, TAddModel, TAddImageOptions, TGetDirectionsOptions, TCollisionRankingTier, TMarkerAnchor, TDirectionInstruction, TDirectionInstructionAction, TGetState, TMarkerState, TBlueDotOptions, TBlueDotPositionUpdate, TFocusTarget, IFocusable, IAnchorable, TMapDataObjectTypes, TFloorState, TFacadeState, } from '@mappedin/mappedin-js/mappedin-js/src/types';
385
385
  export { WALLS, DOORS } from '@mappedin/mappedin-js/mappedin-js/src/types';
386
386
  export type { Label, Marker, Path, PathSegment, Shape, CameraTransform, Model, Image, Text3D, } from '@mappedin/mappedin-js/mappedin-js/src/map-view-objects';
387
387
  export type { Debug } from '@mappedin/mappedin-js/mappedin-js/src/debug';
@@ -1307,7 +1307,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-view' {
1307
1307
  * // Update the color of a space to red.
1308
1308
  * map.updateState(space, { color: 'red' });
1309
1309
  */
1310
- updateState<T extends Space | Text3DView | MapObject | Label | Marker | Shape | Door | Facade | WALLS | DOORS | Model | Path | PathSegment>(target: T, state: TUpdateState<T>): any;
1310
+ updateState<T extends Space | Text3DView | MapObject | Label | Marker | Shape | Door | Facade | Floor | WALLS | DOORS | Model | Path | PathSegment>(target: T, state: TUpdateState<T>): any;
1311
1311
  updateState<T extends string & NonNullable<unknown>>(target: T, state: TUpdateStates): any;
1312
1312
  /**
1313
1313
  * Update global state of the MapView
@@ -1375,7 +1375,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-view' {
1375
1375
  * @hidden
1376
1376
  */
1377
1377
  updateWatermark(options: WatermarkUpdateOptions): void;
1378
- getState<T extends Space | Model | Text3DView | MapObject | Label | Marker | Image | Shape | Path | PathSegment | string>(target: T): TGetState<T>;
1378
+ getState<T extends Space | Model | Text3DView | MapObject | Label | Marker | Image | Shape | Path | PathSegment | Floor | string>(target: T): TGetState<T>;
1379
1379
  setHoverColor(c: string): void;
1380
1380
  getHoverColor(): string | undefined;
1381
1381
  /**
@@ -1977,6 +1977,13 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/types' {
1977
1977
  */
1978
1978
  opacity: number;
1979
1979
  };
1980
+ export type TFacadeState = {
1981
+ type: 'facade';
1982
+ /**
1983
+ * The opacity of the facade.
1984
+ */
1985
+ opacity: number;
1986
+ };
1980
1987
  /**
1981
1988
  * Defines the state for geometry elements like {@link Space} when updated.
1982
1989
  */
@@ -2024,6 +2031,18 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/types' {
2024
2031
  };
2025
2032
  flipImageToFaceCamera?: boolean;
2026
2033
  };
2034
+ export type TFloorState = {
2035
+ type: 'floor';
2036
+ /**
2037
+ * State of the geometry on the floor.
2038
+ */
2039
+ geometry: {
2040
+ /**
2041
+ * Opacity of the floor geometry.
2042
+ */
2043
+ opacity: number;
2044
+ };
2045
+ };
2027
2046
  export enum WALLS {
2028
2047
  Exterior = "exterior-walls",
2029
2048
  Interior = "interior-walls"
@@ -2035,9 +2054,9 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/types' {
2035
2054
  /**
2036
2055
  * The type for updating the state of map elements (colors, texts, etc.).
2037
2056
  */
2038
- export type TUpdateState<T> = T extends WALLS ? Partial<TWallsState> : T extends DOORS | Door ? Partial<TDoorsState> : T extends Model ? Partial<UpdateModelState> : T extends Marker ? Partial<TMarkerState> : T extends Label ? Partial<TLabelState> : T extends Space | MapObject | Facade ? Partial<TGeometryState> : T extends Shape ? Partial<Omit<TShapeState, 'height' | 'type'>> : T extends Text3D ? UpdatableText3DState : T extends Path ? Partial<TPathState> : T extends PathSegment ? Partial<TPathState> : T extends string ? Record<string, any> : never;
2057
+ export type TUpdateState<T> = T extends WALLS ? Partial<TWallsState> : T extends DOORS | Door ? Partial<TDoorsState> : T extends Model ? Partial<UpdateModelState> : T extends Marker ? Partial<TMarkerState> : T extends Label ? Partial<TLabelState> : T extends Space | MapObject ? Partial<TGeometryState> : T extends Floor ? Partial<TFloorState> : T extends Facade ? Partial<TFacadeState> : T extends Shape ? Partial<Omit<TShapeState, 'height' | 'type'>> : T extends Text3D ? UpdatableText3DState : T extends Path ? Partial<TPathState> : T extends PathSegment ? Partial<TPathState> : T extends string ? Record<string, any> : never;
2039
2058
  export type TUpdateStates = Partial<Omit<TGeometryState, 'interactive' | 'hoverColor' | 'type'>> | Partial<TMarkerState> | Partial<TLabelState> | Partial<TGeometryState> | Partial<TPathState>;
2040
- export type TGetState<T> = T extends WALLS ? TWallsState | undefined : T extends DOORS ? TDoorsState | undefined : T extends Marker ? TMarkerState | undefined : T extends Shape ? TShapeState | undefined : T extends Model ? TModelState | undefined : T extends Label ? TLabelState | undefined : T extends Image ? TImageState | undefined : T extends Text3D ? Text3DState | undefined : T extends Space | MapObject ? TGeometryState | undefined : T extends Path ? TPathState | undefined : T extends PathSegment ? TPathState | undefined : T extends string ? TLabelState | TGeometryState | TMarkerState | TModelState | TPathState | undefined : never;
2059
+ export type TGetState<T> = T extends WALLS ? TWallsState | undefined : T extends DOORS ? TDoorsState | undefined : T extends Marker ? TMarkerState | undefined : T extends Shape ? TShapeState | undefined : T extends Model ? TModelState | undefined : T extends Label ? TLabelState | undefined : T extends Image ? TImageState | undefined : T extends Text3D ? Text3DState | undefined : T extends Space | MapObject ? TGeometryState | undefined : T extends Floor ? TFloorState | undefined : T extends Facade ? TFacadeState | undefined : T extends Path ? TPathState | undefined : T extends PathSegment ? TPathState | undefined : T extends string ? TLabelState | TGeometryState | TMarkerState | TModelState | TPathState | undefined : never;
2041
2060
  /**
2042
2061
  * Options for {@link Camera} animations on the map.
2043
2062
  */
@@ -2213,6 +2232,14 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/types' {
2213
2232
  * @defaultValue 0.4
2214
2233
  */
2215
2234
  farRadius?: number;
2235
+ /**
2236
+ * The zoom level at which the path should be at its near radius. This will default to the Camera maxZoomLevel.
2237
+ */
2238
+ nearZoomLevel?: number;
2239
+ /**
2240
+ * The zoom level at which the path should be at its far radius. This will default to the Camera minZoomLevel.
2241
+ */
2242
+ farZoomLevel?: number;
2216
2243
  /**
2217
2244
  * Duration of path drawing in milliseconds.
2218
2245
  *
@@ -2714,6 +2741,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/types' {
2714
2741
  }
2715
2742
 
2716
2743
  declare module '@mappedin/mappedin-js/mappedin-js/src/constants' {
2744
+ export const FLOOR_HEIGHT = 10;
2717
2745
  /**
2718
2746
  * Default map options used if no custom options are provided.
2719
2747
  *
@@ -2735,6 +2763,10 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/constants' {
2735
2763
  mode: "default";
2736
2764
  };
2737
2765
  flipImagesToFaceCamera: true;
2766
+ multiFloorView: {
2767
+ enabled: false;
2768
+ floorHeight: number;
2769
+ };
2738
2770
  };
2739
2771
  export const EXTERIOR_WALLS_ID = "ExteriorWalls";
2740
2772
  export const WALLS_ID = "Walls";
@@ -2747,6 +2779,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/constants' {
2747
2779
  export const FOOTPRINT_LAYER = "FootprintLayer";
2748
2780
  export const OCCLUSION_LAYER = "OcclusionLayer";
2749
2781
  export const IMAGES_LAYER = "ImagesLayer";
2782
+ export const FACADES_LAYER = "FacadesLayer";
2750
2783
  export const SELF_SERVE_API_AUDIENCE: string[];
2751
2784
  export const ENTERPRISE_API_AUDIENCE: string[];
2752
2785
  export const MAPPEDIN_COLORS: {
@@ -3174,11 +3207,19 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/navigation' {
3174
3207
  * @default 0.25
3175
3208
  */
3176
3209
  nearRadius?: number;
3210
+ /**
3211
+ * The zoom level at which the path should be at its near radius. This will default to the Camera maxZoomLevel.
3212
+ */
3213
+ nearZoomLevel?: number;
3177
3214
  /**
3178
3215
  * The radius of the path far from the markers.
3179
3216
  * @default 1
3180
3217
  */
3181
3218
  farRadius?: number;
3219
+ /**
3220
+ * The zoom level at which the path should be at its far radius. This will default to the Camera minZoomLevel.
3221
+ */
3222
+ farZoomLevel?: number;
3182
3223
  /**
3183
3224
  * Controls whether arrows are displayed on the path.
3184
3225
  * @default false
@@ -3220,11 +3261,19 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/navigation' {
3220
3261
  * @default 0.25
3221
3262
  */
3222
3263
  nearRadius?: number;
3264
+ /**
3265
+ * The zoom level at which the path should be at its near radius. This will default to the Camera maxZoomLevel.
3266
+ */
3267
+ nearZoomLevel?: number;
3223
3268
  /**
3224
3269
  * The radius of the path far from the markers.
3225
3270
  * @default 1
3226
3271
  */
3227
3272
  farRadius?: number;
3273
+ /**
3274
+ * The zoom level at which the path should be at its far radius. This will default to the Camera minZoomLevel.
3275
+ */
3276
+ farZoomLevel?: number;
3228
3277
  /**
3229
3278
  * Controls whether arrows are displayed on the path.
3230
3279
  * @default false
@@ -3927,7 +3976,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src' {
3927
3976
  export { parseMVF, unzipMVF, enableTestMode, preloadFont, MAPPEDIN_COLORS };
3928
3977
  export type { MapView, MapData, MapViewState, MappedinMapLibreOverlay, TMappedinMapLibreOverlayEvents, TBlueDotEvents, TBlueDotAction, TBlueDotState, GeolocationPositionExtended, TStackedMapsEvents, TExpandOptions, TStackedMapsState, TFollowMode, TFollowCameraOptions, TEvents, TEventPayload, TFloorChangeReason, TClickPayload, THoverPayload, TShow3DMapOptions, TGetMapDataOptions, TGetMapDataWithAccessTokenOptions, TGetMapDataWithCredentialsOptions, TGetMapDataSharedOptions, TAntialiasingOptions, TMVF, PaintStyle, LineStyle, EnvMapOptions, Shading, TMVFStyleCollection, TMVFStyle, TMVFLineStringStyle, TMVFPolygonStyle, TMVFPointStyle, Environment, InsetPadding, InsetPaddingOption, OperationHours, SiblingGroup, LocationState, Text3DState, AddText3DOptions, UpdatableText3DState, InitializeText3DState, UpdateModelState, InitializeModelState, };
3929
3978
  export type * from 'geojson';
3930
- export type { TUpdateState, TUpdateStates, TLabelState, TGeometryState, TModelState, TShapeState, TDoorsState, TImageState, TWallsState, TCameraAnimationOptions, TAnimationOptions, TFocusOnOptions, TEasingFunction, TCameraTarget, TNavigationTarget, TDirectionZone, TAddMarkerOptions, TAddPathOptions, TLabelAppearance, TAddLabelOptions, TAddModelOptions, TAddModel, TAddImageOptions, TGetDirectionsOptions, TCollisionRankingTier, TMarkerAnchor, TDirectionInstruction, TDirectionInstructionAction, TGetState, TMarkerState, TBlueDotOptions, TBlueDotPositionUpdate, TFocusTarget, IFocusable, IAnchorable, TMapDataObjectTypes, } from '@mappedin/mappedin-js/mappedin-js/src/types';
3979
+ export type { TUpdateState, TUpdateStates, TLabelState, TGeometryState, TModelState, TShapeState, TDoorsState, TImageState, TWallsState, TCameraAnimationOptions, TAnimationOptions, TFocusOnOptions, TEasingFunction, TCameraTarget, TNavigationTarget, TDirectionZone, TAddMarkerOptions, TAddPathOptions, TLabelAppearance, TAddLabelOptions, TAddModelOptions, TAddModel, TAddImageOptions, TGetDirectionsOptions, TCollisionRankingTier, TMarkerAnchor, TDirectionInstruction, TDirectionInstructionAction, TGetState, TMarkerState, TBlueDotOptions, TBlueDotPositionUpdate, TFocusTarget, IFocusable, IAnchorable, TMapDataObjectTypes, TFloorState, TFacadeState, } from '@mappedin/mappedin-js/mappedin-js/src/types';
3931
3980
  export { WALLS, DOORS } from '@mappedin/mappedin-js/mappedin-js/src/types';
3932
3981
  export type { Label, Marker, Path, PathSegment, Shape, CameraTransform, Model, Image, Text3D, } from '@mappedin/mappedin-js/mappedin-js/src/map-view-objects';
3933
3982
  export type { Debug } from '@mappedin/mappedin-js/mappedin-js/src/debug';
@@ -6408,10 +6457,18 @@ declare module '@mappedin/mappedin-js/geojson/src/components/path' {
6408
6457
  * The radius of the path when zoomed in
6409
6458
  */
6410
6459
  nearRadius: number;
6460
+ /**
6461
+ * The zoom level at which the near radius is applied
6462
+ */
6463
+ nearZoomLevel?: number;
6411
6464
  /**
6412
6465
  * The radius of the path when zoomed out
6413
6466
  */
6414
6467
  farRadius: number;
6468
+ /**
6469
+ * The zoom level at which the far radius is applied
6470
+ */
6471
+ farZoomLevel?: number;
6415
6472
  };
6416
6473
  export type AddPathOptions = {
6417
6474
  /**
@@ -6427,10 +6484,18 @@ declare module '@mappedin/mappedin-js/geojson/src/components/path' {
6427
6484
  * The radius of the path when zoomed in
6428
6485
  */
6429
6486
  nearRadius?: number;
6487
+ /**
6488
+ * The zoom level at which the near radius is applied
6489
+ */
6490
+ nearZoomLevel?: number;
6430
6491
  /**
6431
6492
  * The radius of the path when zoomed out
6432
6493
  */
6433
6494
  farRadius?: number;
6495
+ /**
6496
+ * The zoom level at which the far radius is applied
6497
+ */
6498
+ farZoomLevel?: number;
6434
6499
  /**
6435
6500
  * The color of the path.
6436
6501
  */
@@ -6456,6 +6521,8 @@ declare module '@mappedin/mappedin-js/geojson/src/components/path' {
6456
6521
  accentColor: z.ZodOptional<z.ZodString>;
6457
6522
  displayArrowsOnPath: z.ZodOptional<z.ZodBoolean>;
6458
6523
  animateArrowsOnPath: z.ZodOptional<z.ZodBoolean>;
6524
+ nearZoomLevel: z.ZodOptional<z.ZodNumber>;
6525
+ farZoomLevel: z.ZodOptional<z.ZodNumber>;
6459
6526
  }, "strip", z.ZodTypeAny, {
6460
6527
  id?: string | undefined;
6461
6528
  interactive?: boolean | undefined;
@@ -6463,7 +6530,9 @@ declare module '@mappedin/mappedin-js/geojson/src/components/path' {
6463
6530
  displayArrowsOnPath?: boolean | undefined;
6464
6531
  animateArrowsOnPath?: boolean | undefined;
6465
6532
  nearRadius?: number | undefined;
6533
+ nearZoomLevel?: number | undefined;
6466
6534
  farRadius?: number | undefined;
6535
+ farZoomLevel?: number | undefined;
6467
6536
  }, {
6468
6537
  id?: string | undefined;
6469
6538
  interactive?: boolean | undefined;
@@ -6471,7 +6540,9 @@ declare module '@mappedin/mappedin-js/geojson/src/components/path' {
6471
6540
  displayArrowsOnPath?: boolean | undefined;
6472
6541
  animateArrowsOnPath?: boolean | undefined;
6473
6542
  nearRadius?: number | undefined;
6543
+ nearZoomLevel?: number | undefined;
6474
6544
  farRadius?: number | undefined;
6545
+ farZoomLevel?: number | undefined;
6475
6546
  }>;
6476
6547
  export const featureSchema: z.ZodObject<{
6477
6548
  type: z.ZodEnum<["Feature"]>;
@@ -6523,6 +6594,10 @@ declare module '@mappedin/mappedin-js/geojson/src/components/path' {
6523
6594
  options: AddPathOptions;
6524
6595
  nearRadius: number;
6525
6596
  farRadius: number;
6597
+ nearZoomLevel?: number;
6598
+ farZoomLevel?: number;
6599
+ nearZoomAltitude?: number;
6600
+ farZoomAltitude?: number;
6526
6601
  accentColor: string;
6527
6602
  completeFraction: number;
6528
6603
  altitudeAdjustment: number;
@@ -7126,6 +7201,10 @@ declare module '@mappedin/mappedin-js/geojson/src/entities/group-container' {
7126
7201
  */
7127
7202
  altitude: number;
7128
7203
  interactive: boolean;
7204
+ /**
7205
+ * The opacity of the group container, which sets the opacity of all its children
7206
+ */
7207
+ opacity: number;
7129
7208
  };
7130
7209
  export class GroupContainerObject3D extends Object3D {
7131
7210
  childrenIds: Set<string | number>;
@@ -7138,6 +7217,9 @@ declare module '@mappedin/mappedin-js/geojson/src/entities/group-container' {
7138
7217
  occluderDirty: boolean;
7139
7218
  occluderId?: number;
7140
7219
  occluderFeature?: Feature<Polygon | MultiPolygon, any>;
7220
+ opacity: number;
7221
+ /** The effective opacity of the entity after all parent containers have been considered. */
7222
+ computedOpacity: number;
7141
7223
  };
7142
7224
  components: [StackComponent?, InteractionComponent?];
7143
7225
  constructor(id: string);
@@ -7147,6 +7229,8 @@ declare module '@mappedin/mappedin-js/geojson/src/entities/group-container' {
7147
7229
  setVisible(visible: boolean): void;
7148
7230
  setAltitude(altitude: number): void;
7149
7231
  get altitude(): number;
7232
+ setOpacity(opacity: number): void;
7233
+ get opacity(): number;
7150
7234
  }
7151
7235
  }
7152
7236
 
@@ -7586,6 +7670,7 @@ declare module '@mappedin/mappedin-js/geojson/src/types' {
7586
7670
  tweenGroup: TweenGroup;
7587
7671
  cameraObject: Camera;
7588
7672
  naturalBearing: number;
7673
+ containerOffset: [number, number];
7589
7674
  };
7590
7675
  /**
7591
7676
  * All of the entities in the scene
@@ -8439,7 +8524,10 @@ declare module '@mappedin/mappedin-js/geojson/src/renderer' {
8439
8524
  /**
8440
8525
  * Project a screen coordinate to a geographic coordinate
8441
8526
  */
8442
- projectScreenXYToCoordinate: (x: number, y: number) => Position | undefined;
8527
+ projectScreenXYToCoordinate: (x: number, y: number, useWorldPlane?: boolean) => {
8528
+ coordinate: Position;
8529
+ groupContainers: GroupContainerObject3D[] | undefined;
8530
+ } | undefined;
8443
8531
  /**
8444
8532
  * Project a geographic coordinate to a screen coordinate
8445
8533
  */
@@ -8587,7 +8675,6 @@ declare module '@mappedin/mappedin-js/geojson/src/renderer' {
8587
8675
  }
8588
8676
 
8589
8677
  declare module '@mappedin/mappedin-js/geojson/src/camera' {
8590
- import type { Mesh } from 'three';
8591
8678
  import { Vector3 } from 'three';
8592
8679
  import type { RendererCore } from '@mappedin/mappedin-js/geojson/src';
8593
8680
  import type { Position as GeoJSONPosition } from 'geojson';
@@ -8630,7 +8717,7 @@ declare module '@mappedin/mappedin-js/geojson/src/camera' {
8630
8717
  /**
8631
8718
  * @internal
8632
8719
  */
8633
- constructor(core: RendererCore, systems: Systems, state: RendererState, cameraPlane: Mesh);
8720
+ constructor(core: RendererCore, systems: Systems, state: RendererState);
8634
8721
  /**
8635
8722
  * The camera's current center in [longitude, latitude] degrees.
8636
8723
  */
@@ -9268,10 +9355,12 @@ declare module '@mappedin/mappedin-js/geojson/src/utils' {
9268
9355
  import type { Object3D, Camera as THREECamera } from 'three';
9269
9356
  import { MercatorCoordinate } from '@mappedin/mappedin-js/packages/outdoor-context-v4';
9270
9357
  import type { CustomLayerInterface } from '@mappedin/mappedin-js/packages/outdoor-context-v4';
9271
- import type { GroupContainerObject3D } from '@mappedin/mappedin-js/geojson/src/entities/group-container';
9358
+ import { GroupContainerObject3D } from '@mappedin/mappedin-js/geojson/src/entities/group-container';
9272
9359
  import type { Geometry2D } from '@mappedin/mappedin-js/geojson/src/entities/geometry2d';
9360
+ import type { Geometry3DTypes } from '@mappedin/mappedin-js/geojson/src/entities/geometry3d';
9273
9361
  import type { Position, RendererState } from '@mappedin/mappedin-js/geojson/src/renderer';
9274
9362
  import type { Camera } from '@mappedin/mappedin-js/geojson/src/camera';
9363
+ import { GeometryGroupObject3D } from '@mappedin/mappedin-js/geojson/src/entities/geometry-group';
9275
9364
  export { isFiniteBox } from '@packages/internal/common';
9276
9365
  export function cartesianToGeographic(centerLat: number, centerLon: number, x: number, y: number): {
9277
9366
  lat: number;
@@ -9347,6 +9436,7 @@ declare module '@mappedin/mappedin-js/geojson/src/utils' {
9347
9436
  export { transformRequest } from '@mappedin/mappedin-js/geojson/src/utils/tranform-request';
9348
9437
  export { normalizeAngle } from '@mappedin/mappedin-js/geojson/src/utils/math';
9349
9438
  export function shouldExpandZoomLevel(minZoomFromCurrentPanBounds: number, cameraZoomLevel: number): boolean;
9439
+ export function getGroupContainerOpacity(entity: Geometry3DTypes | GeometryGroupObject3D): number;
9350
9440
  }
9351
9441
 
9352
9442
  declare module '@mappedin/mappedin-js/geojson/src/utils/constants' {
@@ -9585,64 +9675,71 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/api' {
9585
9675
  import { Text3D } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/text3d';
9586
9676
  import { PathSegment } from '@mappedin/mappedin-js/mappedin-js/src/map-view-objects/path';
9587
9677
  export class GeoJsonApi {
9588
- core: RendererCore;
9589
- mapObjects: GeojsonApiMapObject[];
9590
- id: string;
9591
- mapDataExternal: {
9592
- [key in string]: MapData;
9593
- };
9594
- mapData?: MapData;
9595
- currentMap: GeojsonApiMapObject;
9596
- hiddenOutdoorGeometries: [
9597
- BBox,
9598
- polygons: GeoJSON.Feature<GeoJSON.Polygon | GeoJSON.MultiPolygon, any>[],
9599
- layers: string[]
9600
- ][];
9601
- mapView: MapView;
9602
- Camera: Camera;
9603
- Labels: Labels;
9604
- Text3D: Text3D;
9605
- Markers: Markers;
9606
- Models: Models;
9607
- Paths: Paths;
9608
- Exporter: Exporter;
9609
- Navigation: Navigation;
9610
- Outdoor: Outdoor;
9611
- BlueDot: BlueDot;
9612
- Shapes: Shapes;
9613
- Style: Style;
9614
- Images: Images;
9615
- get DynamicFocus(): import("..").DynamicFocus;
9616
- get StackedMaps(): import("..").StackedMaps;
9617
- constructor(rendererCore: RendererCore, mapView: MapView);
9618
- updateState<T extends Space | Text3DView | MapObject | Label | Shape | Marker | Model | Door | Facade | WALLS | DOORS | Path | PathSegment | (string & NonNullable<unknown>)>(target: T, state: TUpdateState<T>): void;
9619
- update: () => void;
9620
- getMapDataInternal(): MapDataInternal | undefined;
9621
- getMapData(): MapData | undefined;
9622
- addMap(mapData: MapData, options?: TShow3DMapOptions): Promise<MapData>;
9623
- setFloor(floor: Floor | string, reason?: TFloorChangeReason): void;
9624
- setFloorStack(floorStack: FloorStack | string): void;
9625
- updateWatermark(options: WatermarkUpdateOptions): void;
9626
- get currentFloorStack(): FloorStack;
9627
- get currentFloor(): Floor;
9628
- getState<T extends Space | Text3DView | MapObject | Label | Marker | Image | Shape | Model | Path | PathSegment | string>(target: T): TGetState<T>;
9629
- setHoverColor(c: string): void;
9630
- getHoverColor(): string | undefined;
9631
- createCoordinateFromScreenCoordinate(x: number, y: number, floor?: Floor): Coordinate | undefined;
9632
- getScreenCoordinateFromCoordinate(coordinate: Coordinate): {
9633
- x: number;
9634
- y: number;
9635
- };
9636
- isInView(target: Space | MapObject | Label | Marker | string): boolean;
9637
- auto(): {
9638
- labels: Label[];
9639
- };
9640
- /**
9641
- * @internal
9642
- */
9643
- get __core(): RendererCore;
9644
- clear(): void;
9645
- destroy(): void;
9678
+ core: RendererCore;
9679
+ mapObjects: GeojsonApiMapObject[];
9680
+ id: string;
9681
+ mapDataExternal: {
9682
+ [key in string]: MapData;
9683
+ };
9684
+ mapData?: MapData;
9685
+ currentMap: GeojsonApiMapObject;
9686
+ hiddenOutdoorGeometries: [
9687
+ BBox,
9688
+ polygons: GeoJSON.Feature<GeoJSON.Polygon | GeoJSON.MultiPolygon, any>[],
9689
+ layers: string[]
9690
+ ][];
9691
+ mapView: MapView;
9692
+ Camera: Camera;
9693
+ Labels: Labels;
9694
+ Text3D: Text3D;
9695
+ Markers: Markers;
9696
+ Models: Models;
9697
+ Paths: Paths;
9698
+ Exporter: Exporter;
9699
+ Navigation: Navigation;
9700
+ Outdoor: Outdoor;
9701
+ BlueDot: BlueDot;
9702
+ Shapes: Shapes;
9703
+ Style: Style;
9704
+ Images: Images;
9705
+ get DynamicFocus(): import("..").DynamicFocus;
9706
+ get StackedMaps(): import("..").StackedMaps;
9707
+ constructor(rendererCore: RendererCore, mapView: MapView);
9708
+ updateState<T extends Space | Text3DView | MapObject | Label | Shape | Marker | Model | Door | Facade | Floor | WALLS | DOORS | Path | PathSegment | (string & NonNullable<unknown>)>(target: T, state: TUpdateState<T>): void;
9709
+ update: () => void;
9710
+ getMapDataInternal(): MapDataInternal | undefined;
9711
+ getMapData(): MapData | undefined;
9712
+ addMap(mapData: MapData, options?: TShow3DMapOptions): Promise<MapData>;
9713
+ setFloor(floor: Floor | string, reason?: TFloorChangeReason): void;
9714
+ setFloorStack(floorStack: FloorStack | string): void;
9715
+ updateWatermark(options: WatermarkUpdateOptions): void;
9716
+ get currentFloorStack(): FloorStack;
9717
+ get currentFloor(): Floor;
9718
+ getState<T extends Space | Text3DView | MapObject | Label | Marker | Image | Shape | Model | Path | PathSegment | Floor | Facade | string>(target: T): TGetState<T>;
9719
+ setHoverColor(c: string): void;
9720
+ getHoverColor(): string | undefined;
9721
+ /**
9722
+ * Create a coordinate from a screen coordinate
9723
+ * @param x - The x coordinate of the screen
9724
+ * @param y - The y coordinate of the screen
9725
+ * @param floor - The floor to use for the coordinate
9726
+ * @returns The coordinate
9727
+ */
9728
+ createCoordinateFromScreenCoordinate(x: number, y: number, floor?: Floor): Coordinate | undefined;
9729
+ getScreenCoordinateFromCoordinate(coordinate: Coordinate): {
9730
+ x: number;
9731
+ y: number;
9732
+ };
9733
+ isInView(target: Space | MapObject | Label | Marker | string): boolean;
9734
+ auto(): {
9735
+ labels: Label[];
9736
+ };
9737
+ /**
9738
+ * @internal
9739
+ */
9740
+ get __core(): RendererCore;
9741
+ clear(): void;
9742
+ destroy(): void;
9646
9743
  }
9647
9744
  }
9648
9745
 
@@ -9663,7 +9760,6 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/map-object' {
9663
9760
  import { type GeoJsonApi } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/api';
9664
9761
  import { FloorStackObject } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/floor-stack-object';
9665
9762
  import { DynamicFocus } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/dynamic-focus';
9666
- export const FLOOR_HEIGHT = 5;
9667
9763
  import type { Text3DState } from '@mappedin/core-sdk/src/components/text3d';
9668
9764
  export class GeojsonApiMapObject extends PubSub<{
9669
9765
  'floor-change': {
@@ -9748,7 +9844,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/map-object' {
9748
9844
  onCreate: (labelId: string | number, text: string, target: IAnchorable) => void;
9749
9845
  labelOptions?: TAddLabelOptions;
9750
9846
  }) => void;
9751
- add: (coordinate: Position, text: string, opts?: AddLabelOptions & {
9847
+ add: (coordinate: Coordinate, text: string, opts?: AddLabelOptions & {
9752
9848
  floorId?: string;
9753
9849
  parentId?: string;
9754
9850
  verticalOffset?: number;
@@ -10044,7 +10140,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/map-view-objects/text3d' {
10044
10140
 
10045
10141
  declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/camera' {
10046
10142
  import type { IFocusable, TCameraAnimationOptions, TCameraTarget, TFocusOnOptions, TCameraInteractionsSetOptions } from '@mappedin/mappedin-js/mappedin-js/src/types';
10047
- import type { InsetPadding } from '@mappedin/core-sdk';
10143
+ import type { InsetPadding } from '@mappedin/mappedin-js/geojson/src';
10048
10144
  import { Coordinate } from '@mappedin/mappedin-js/mappedin-js/src/map-data-objects';
10049
10145
  import type { GeoJsonApi } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/api';
10050
10146
  /**
@@ -10590,11 +10686,19 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/navigation/index' {
10590
10686
  * @default 0.25
10591
10687
  */
10592
10688
  nearRadius?: number;
10689
+ /**
10690
+ * The zoom level at which the path should be at its near radius. This will default to the Camera maxZoomLevel.
10691
+ */
10692
+ nearZoomLevel?: number;
10593
10693
  /**
10594
10694
  * The radius of the path far from the markers.
10595
10695
  * @default 1
10596
10696
  */
10597
10697
  farRadius?: number;
10698
+ /**
10699
+ * The zoom level at which the path should be at its far radius. This will default to the Camera minZoomLevel.
10700
+ */
10701
+ farZoomLevel?: number;
10598
10702
  /**
10599
10703
  * Controls whether arrows are displayed on the path.
10600
10704
  * @default false
@@ -10636,11 +10740,19 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/navigation/index' {
10636
10740
  * @default 0.25
10637
10741
  */
10638
10742
  nearRadius?: number;
10743
+ /**
10744
+ * The zoom level at which the path should be at its near radius. This will default to the Camera maxZoomLevel.
10745
+ */
10746
+ nearZoomLevel?: number;
10639
10747
  /**
10640
10748
  * The radius of the path far from the markers.
10641
10749
  * @default 1
10642
10750
  */
10643
10751
  farRadius?: number;
10752
+ /**
10753
+ * The zoom level at which the path should be at its far radius. This will default to the Camera minZoomLevel.
10754
+ */
10755
+ farZoomLevel?: number;
10644
10756
  /**
10645
10757
  * Controls whether arrows are displayed on the path.
10646
10758
  * @default false
@@ -12859,6 +12971,7 @@ declare module '@mappedin/mappedin-js/geojson/src/systems/2d-occlusion/system' {
12859
12971
  import type { Position as GeoJsonPosition } from 'geojson';
12860
12972
  export function fillArrayWithColor(array: Float32Array | Uint8Array, count: number, color: number): void;
12861
12973
  export class Occlusion2DSystem {
12974
+ backgroundId: number;
12862
12975
  constructor(state: RendererState, convertTo3DMapPosition: (position: GeoJsonPosition) => Vector3, renderer?: Renderer);
12863
12976
  reserveOccluderId(): number;
12864
12977
  enable(): void;
@@ -12947,7 +13060,7 @@ declare module '@mappedin/mappedin-js/geojson/src/utils/ecs' {
12947
13060
  import { Box3, Vector3 } from 'three';
12948
13061
  import type RendererCore from '@mappedin/mappedin-js/geojson/src/renderer';
12949
13062
  export function getGeometryByGeometryId(state: RendererState, geometryOrGeometryId?: string | number | Record<string, any>): Geometry3DTypes | GeometryGroupObject3D | GroupContainerObject3D | Geometry2D | undefined;
12950
- export function getVerticesOfEntity(core: RendererCore, geometryOrGeometryId?: string | number | EntityId<EntityState>, vertices?: Vector3[], bounds?: Box3): Vector3[];
13063
+ export function getVerticesOfEntity(core: RendererCore, geometryOrGeometryId?: string | number | EntityId<EntityState>, vertices?: Vector3[], bounds?: Box3, zOffset?: number): Vector3[];
12951
13064
  }
12952
13065
 
12953
13066
  declare module '@mappedin/mappedin-js/geojson/src/utils/get-pixel-ratio' {
@@ -13308,6 +13421,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/floor-object'
13308
13421
  import type { RendererCore, BBox } from '@mappedin/core-sdk';
13309
13422
  import type { AggregatedStyleMap } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/utils';
13310
13423
  import type { TShow3DMapOptions } from '@mappedin/mappedin-js/mappedin-js/src';
13424
+ import type { MapDataInternal } from '@mappedin/mappedin-js/mappedin-js/src/map-data-objects';
13311
13425
  class Layer {
13312
13426
  containerId: string;
13313
13427
  labelIds: Set<string>;
@@ -13331,8 +13445,10 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/floor-object'
13331
13445
  layers: Map<string, Layer>;
13332
13446
  footprint?: Feature<Polygon | MultiPolygon | null, MVFFloor>;
13333
13447
  floorStackId: string;
13448
+ /** Map of styleId to array of facadeIds for styling */
13449
+ facadesByStyleId: Map<string, string[]>;
13334
13450
  get geoJSONBoundingBox(): BBox | undefined;
13335
- constructor(parentId: string, floor: MVFFloor, renderer: RendererCore, multiFloorView: Required<TShow3DMapOptions['multiFloorView']>, options: TShow3DMapOptions, mvf?: ParsedMVF, styleMap?: AggregatedStyleMap);
13451
+ constructor(parentId: string, floor: MVFFloor, renderer: RendererCore, multiFloorView: Required<TShow3DMapOptions['multiFloorView']>, options: TShow3DMapOptions, mvf?: ParsedMVF, styleMap?: AggregatedStyleMap, mapDataInternal?: MapDataInternal);
13336
13452
  load: () => this;
13337
13453
  get visible(): boolean;
13338
13454
  setVisible(visible: boolean): void;
@@ -13341,17 +13457,18 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/floor-object'
13341
13457
  }
13342
13458
 
13343
13459
  declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/utils' {
13344
- import { Coordinate, type MapObject, type Space } from '@mappedin/mappedin-js/mappedin-js/src/map-data-objects';
13460
+ import { Coordinate, type Floor, type MapObject, type Space, type Facade } from '@mappedin/mappedin-js/mappedin-js/src/map-data-objects';
13345
13461
  import type { EntranceCollection, LineString, Polygon, Point, SpaceProperties, ObstructionProperties, StyleCollection, PolygonStyle, LineStringStyle, Feature, ObstructionCollection, PointStyle } from '@mappedin/mvf';
13346
13462
  import type { PolygonFeatureProperties } from '@packages/internal/mvf-utils';
13347
13463
  import type { BBox, FeatureCollection, MultiLineString } from 'geojson';
13348
- import type { LabelState, MarkerState, GeometryState, CollisionRankingTier, LineStyle, PaintStyle, Position } from '@mappedin/core-sdk';
13464
+ import type { LabelState, MarkerState, GeometryState, CollisionRankingTier, LineStyle, PaintStyle, Position, GroupContainerState } from '@mappedin/core-sdk';
13349
13465
  import { type TGeometryState, type TLabelState, type TDirectionInstructionAction, type TShow3DMapOptions, type Label, type Marker, type Model } from '@mappedin/mappedin-js/mappedin-js/src';
13350
- import type { TDoorsState, TMarkerState, TWallsState } from '@mappedin/mappedin-js/mappedin-js/src/types';
13466
+ import type { TDoorsState, TFloorState, TMarkerState, TWallsState } from '@mappedin/mappedin-js/mappedin-js/src/types';
13351
13467
  import type { Image, Path, Shape, Text3D } from '@mappedin/mappedin-js/mappedin-js/src/map-view-objects';
13352
13468
  import type { GeoJsonApi } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/api';
13353
13469
  import type { Tween } from '@tweenjs/tween.js';
13354
13470
  import type { PathSegment } from '@mappedin/mappedin-js/mappedin-js/src/map-view-objects/path';
13471
+ import { FloorObject } from '@mappedin/mappedin-js/mappedin-js/src/api-geojson/floor-object';
13355
13472
  export function convertCoordinateToPosition(coord: Coordinate): Position;
13356
13473
  export function convertPositionToCoordinate(coord: Position): Coordinate;
13357
13474
  export const cutEntrancesFromLineStrings: (lineStrings: ObstructionCollection["features"], entranceCollection: EntranceCollection["features"]) => {
@@ -13363,6 +13480,7 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/utils' {
13363
13480
  export function translateDoorsStateToGeojsonCore(state: Partial<TDoorsState>, currentState: Partial<GeometryState>): Partial<GeometryState>;
13364
13481
  export function translateWallsStateToGeojsonCore(state: Partial<TWallsState>, currentState: Partial<GeometryState>): Partial<GeometryState>;
13365
13482
  export function translateSpaceStateToGeojsonCore(state: Partial<TGeometryState>, currentState: Partial<GeometryState>): Partial<GeometryState>;
13483
+ export function translateFloorGeometryStateToGeojsonCore(state: TFloorState['geometry']): Partial<GroupContainerState>;
13366
13484
  export function differenceBetweenAngles(a: number, b: number): number;
13367
13485
  export function getRelativeBearing(relativeBearingAngle: number, threshold: number): TDirectionInstructionAction['bearing'];
13368
13486
  export function convertCollisionRankingTeirToNumber(tier: CollisionRankingTier): number;
@@ -13378,11 +13496,12 @@ declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/utils' {
13378
13496
  };
13379
13497
  export function groupGeometryByStyle(features: Feature<LineString | Polygon | Point, PolygonFeatureProperties<SpaceProperties | ObstructionProperties>>[], styleMap: AggregatedStyleMap): Map<WithId<PolygonStyle> | WithId<LineStringStyle> | WithId<PointStyle>, Feature<Polygon | LineString | Point, PolygonFeatureProperties<SpaceProperties | ObstructionProperties>>[]>;
13380
13498
  export function translateToCoreStyle(style: PolygonStyle | LineStringStyle, userOptions?: TShow3DMapOptions): PaintStyle | LineStyle;
13381
- export const getTargetID: <T extends Space | Shape | MapObject | Label | Text3D | Marker | Model | Path | PathSegment | Image | string>(target: T, api: GeoJsonApi) => string | undefined;
13499
+ export const getTargetID: <T extends Space | Shape | MapObject | Label | Text3D | Marker | Model | Path | PathSegment | Image | Floor | Facade | string>(target: T, api: GeoJsonApi) => string | undefined;
13382
13500
  export function tweenToPromise(tween: Tween): Promise<void>;
13383
13501
  export function getBoundingBox(geometry: GeoJSON.Feature<GeoJSON.Polygon | GeoJSON.MultiPolygon, any>): BBox;
13384
13502
  export function expandBbox(bbox: BBox, bboxToExpand: BBox): number[];
13385
13503
  export function unique<T>(array: T[]): T[];
13504
+ export function getTargetFloorObject(coordinate: Coordinate, floorsById: Map<string, FloorObject>, defaultFloor: FloorObject): FloorObject;
13386
13505
  }
13387
13506
 
13388
13507
  declare module '@mappedin/mappedin-js/mappedin-js/src/api-geojson/floor-stack-object' {
@@ -13513,7 +13632,7 @@ declare module '@mappedin/mappedin-js/geojson/src/systems/collisions/collider-pr
13513
13632
 
13514
13633
  declare module '@mappedin/mappedin-js/geojson/src/systems/interactions/system' {
13515
13634
  import { PerspectiveCamera, Vector3, Object3D, Mesh, Intersection, Object3DEventMap } from 'three';
13516
- import { Raycaster } from 'three';
13635
+ import { Raycaster, Vector2 } from 'three';
13517
13636
  import type { Geometry2D } from '@mappedin/mappedin-js/geojson/src/entities/geometry2d';
13518
13637
  import { QuadTree } from '@packages/internal/quad-tree';
13519
13638
  import type { Geometry3D } from '@mappedin/mappedin-js/geojson/src/entities/geometry3d';
@@ -13562,7 +13681,7 @@ declare module '@mappedin/mappedin-js/geojson/src/systems/interactions/system' {
13562
13681
  entityId: Geometry2D['id'];
13563
13682
  }>;
13564
13683
  _container: HTMLCanvasElement;
13565
- constructor(container: HTMLCanvasElement, coreState: RendererState, camera: PerspectiveCamera, cameraPlane: Mesh, isUserInteracting: () => boolean);
13684
+ constructor(container: HTMLCanvasElement, coreState: RendererState, camera: PerspectiveCamera, worldPlane: Mesh, isUserInteracting: () => boolean);
13566
13685
  updateQuadtree(takeIT: QuadTree<{
13567
13686
  entityId: Geometry2D['id'];
13568
13687
  }>): void;
@@ -13570,6 +13689,8 @@ declare module '@mappedin/mappedin-js/geojson/src/systems/interactions/system' {
13570
13689
  hasTouched: boolean;
13571
13690
  onPointerMoveRaf: (event: PointerEvent) => void;
13572
13691
  tapsControl: TapsController;
13692
+ getThreeDIntersectsFromXY(point: Vector2): Intersection<Object3D<Object3DEventMap>>[];
13693
+ getGroupContainerIntersectsFromXY(point: Vector2): any;
13573
13694
  handleHover(e?: PointerEvent): void;
13574
13695
  dirty3D: boolean;
13575
13696
  get _hitBoxes(): {
@@ -13585,14 +13706,12 @@ declare module '@mappedin/mappedin-js/geojson/src/systems/interactions/system' {
13585
13706
  hovered2DEntity: Geometry2D | undefined;
13586
13707
  hovered3DContainers: GroupContainerObject3D[] | undefined;
13587
13708
  lastHover: Geometry3D | undefined;
13588
- containerOffset: [top: number, left: number];
13589
13709
  interaction: InteractionState;
13590
13710
  };
13591
13711
  /**
13592
13712
  * Get the current cursor type determined by the interaction.
13593
13713
  */
13594
13714
  getCursor(): CursorTypes;
13595
- resize: () => void;
13596
13715
  }
13597
13716
  export function findModelParent(object: Object3D): Object3D<Object3DEventMap> | undefined;
13598
13717
  export {};
@@ -22105,6 +22224,7 @@ declare module '@mappedin/mappedin-js/geojson/src/systems/path/system' {
22105
22224
  import type { RendererState } from '@mappedin/mappedin-js/geojson/src/renderer';
22106
22225
  import type { RendererCore } from '@mappedin/mappedin-js/geojson/src';
22107
22226
  import { PubSub } from '@packages/internal/common';
22227
+ import type { CameraSystem } from '@mappedin/mappedin-js/geojson/src/systems/camera';
22108
22228
  /**
22109
22229
  * A system for drawing and controlling the visual state of paths
22110
22230
  */
@@ -22114,7 +22234,8 @@ declare module '@mappedin/mappedin-js/geojson/src/systems/path/system' {
22114
22234
  altitudeDirty: boolean;
22115
22235
  convertTo3DMapPosition: RendererCore['convertTo3DMapPosition'];
22116
22236
  getParentContainer: RendererCore['getParentContainer'];
22117
- constructor(rendererState: RendererState, convertTo3DMapPosition: RendererCore['convertTo3DMapPosition'], getParentContainer: RendererCore['getParentContainer']);
22237
+ convertZoomLevelToAltitude: CameraSystem['convertZoomLevelToAltitude'];
22238
+ constructor(rendererState: RendererState, convertTo3DMapPosition: RendererCore['convertTo3DMapPosition'], getParentContainer: RendererCore['getParentContainer'], convertZoomLevelToAltitude: CameraSystem['convertZoomLevelToAltitude']);
22118
22239
  update(minZoomAltitude: number, maxZoomAltitude: number, currentZoomAltitude: number): void;
22119
22240
  }
22120
22241
  }