venue-js 1.1.1 → 1.2.0-next.10

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.mts CHANGED
@@ -3,16 +3,16 @@ export { QueryObserver } from '@tanstack/query-core';
3
3
  import * as geojson from 'geojson';
4
4
  import { Position, Geometry, GeoJsonProperties, Feature, Point, Polygon, MultiPolygon, LineString, GeometryCollection } from 'geojson';
5
5
  import * as maptalks_dist_core_Class from 'maptalks/dist/core/Class';
6
- import * as maptalks_dist_geo_Extent from 'maptalks/dist/geo/Extent';
7
- import { Map, Coordinate as Coordinate$1, Extent } from 'maptalks-gl';
6
+ import * as maptalks$1 from 'maptalks-gl';
7
+ import { Map } from 'maptalks-gl';
8
8
  import { BaseObject, ThreeLayer } from 'maptalks.three';
9
9
  import * as maptalks from 'maptalks';
10
- import { Coordinate, Marker, ui, LineString as LineString$1, Polygon as Polygon$1, MultiPolygon as MultiPolygon$1, MultiLineString } from 'maptalks';
11
- import { ExtrudePolygonOptionType } from 'maptalks.three/dist/type';
10
+ import { Extent, Coordinate, Marker, ui, LineString as LineString$1, Polygon as Polygon$1, MultiPolygon as MultiPolygon$1, MultiLineString } from 'maptalks';
11
+ import { BaseObjectOptionType, ExtrudePolygonOptionType } from 'maptalks.three/dist/type';
12
12
  import { PolygonOptionsType } from 'maptalks/dist/geometry/Polygon';
13
13
  import { LineStringOptionsType } from 'maptalks/dist/geometry/LineString';
14
- import { MapViewType, MapAnimationOptionsType } from 'maptalks/dist/map/Map';
15
- import { SpriteMaterial, AmbientLight, DirectionalLight } from 'three';
14
+ import { MapViewType, MapAnimationOptionsType, MapPaddingType } from 'maptalks/dist/map/Map';
15
+ import { SpriteMaterial } from 'three';
16
16
 
17
17
  type Id = string;
18
18
  type MediaFile = {
@@ -183,6 +183,7 @@ type OccupantProperties = EntityTimestamps & {
183
183
  kiosk_ids: Id[];
184
184
  unit_ids: Id[];
185
185
  website_link: string | null;
186
+ show_name_on_all_units: boolean;
186
187
  };
187
188
  type OccupantFeature = ImdfFeature<OccupantGeometry, OccupantProperties>;
188
189
  type OpeningGeometry = LineString;
@@ -533,10 +534,13 @@ type OccupantFeaturePopulated = OccupantFeature & {
533
534
  * [IMDF] Occupant's position
534
535
  */
535
536
  anchor: AnchorFeaturePopulated;
537
+ ordinal: number;
536
538
  /**
537
539
  * [venue.in.th] Occupant's category
538
540
  */
539
541
  local_categories: TaxonomyFeaturePopulated[];
542
+ unit?: UnitFeaturePopulated;
543
+ kiosk?: KioskFeaturePopulated;
540
544
  /**
541
545
  * [venue.in.th] Bind correlation between units on an occupant,
542
546
  * which will be used for highlighting in the floor plan and
@@ -658,8 +662,10 @@ type Filter = EqFilter | InFilter;
658
662
  type Filters = Record<string, Filter>;
659
663
 
660
664
  interface VenueClientOptions {
665
+ mode?: "delivery" | "preview";
661
666
  projectId: string;
662
- apiKey: string;
667
+ apiKey?: string;
668
+ previewToken?: string;
663
669
  baseUrl?: string;
664
670
  queryClient?: QueryClient;
665
671
  }
@@ -701,11 +707,97 @@ declare const GEOJSON_FEATURE_TYPES: FeatureType[];
701
707
  declare const ALL_FEATURE_TYPES: FeatureType[];
702
708
  declare const defaultFeatureQueryOptionsMap: Record<FeatureType, FeatureQueryOptions>;
703
709
 
704
- declare function fetchFeature<T extends FeatureType = FeatureType>(projectId: string, apiKey: string, featureType: FeatureType, baseUrl?: string): Promise<FeatureResponseMap[T][]>;
705
- declare const safeFetchFeature: <T extends FeatureType = FeatureType>(projectId: string, apiKey: string, featureType: FeatureType, baseUrl?: string) => Promise<FeatureResponseMap[T][]>;
710
+ declare function fetchDeliveryApi<T extends FeatureType = FeatureType>(projectId: string, apiKey: string, featureType: FeatureType, baseUrl?: string): Promise<FeatureResponseMap[T][]>;
711
+ declare function fetchPreviewApi<T extends FeatureType = FeatureType>(projectId: string, previewToken: string, featureType: FeatureType, baseUrl?: string): Promise<FeatureResponseMap[T][]>;
712
+ declare const safeFetchFeature: <T extends FeatureType = FeatureType>(featureType: FeatureType, params: {
713
+ mode: "delivery" | "preview";
714
+ projectId: string;
715
+ apiKey: string;
716
+ previewToken?: string;
717
+ baseUrl: string;
718
+ }) => Promise<FeatureResponseMap[T][]>;
719
+
720
+ /**
721
+ * Checks if a point is a valid coordinate pair.
722
+ *
723
+ * @param point - The point to be checked.
724
+ * @return True if the point is a valid coordinate pair, false otherwise.
725
+ */
726
+ declare const isValidCoordinate: (point: Position) => boolean;
727
+ /**
728
+ * Checks if an input represents a valid polygon, which may include holes.
729
+ * The input can be a single array of coordinates for simple polygons, or
730
+ * an array of arrays of coordinates for polygons with holes.
731
+ *
732
+ * @param polygon - The input representing a polygon.
733
+ * @return True if the polygon is valid, false otherwise.
734
+ */
735
+ declare const isValidPolygonCoordinates: (polygon: Position[] | Position[][]) => boolean;
736
+ /**
737
+ * Checks if an array of polygons forms a valid MultiPolygon.
738
+ *
739
+ * @param multipolygon - The array of polygons.
740
+ * @return True if the multipolygon is valid, false otherwise.
741
+ */
742
+ declare const isValidMultiPolygonCoordinates: (multipolygon: Position[][][]) => boolean;
743
+ /**
744
+ * Checks if a set of points forms a valid LineString.
745
+ * A valid LineString must have at least two points, each point must be a valid coordinate,
746
+ * and it should not form a closed loop.
747
+ *
748
+ * @param lineString - The array of points representing a LineString.
749
+ * @return True if the LineString is valid, false otherwise.
750
+ */
751
+ declare const isValidLineStringCoordinates: (lineString: Position[]) => boolean;
752
+ declare const isValidMultiPolygon: (geometry: Exclude<Geometry, GeometryCollection>) => boolean;
753
+ declare const isValidPolygon: (geometry: Exclude<Geometry, GeometryCollection>) => boolean;
754
+ declare const isValidLineString: (geometry: Exclude<Geometry, GeometryCollection>) => boolean;
755
+ declare const isValidPoint: (geometry: Exclude<Geometry, GeometryCollection>) => boolean;
756
+
757
+ declare function matchFilter(value: Value | Value[], filter: Filter): boolean;
758
+ declare function matchFilters<T extends Record<string, any>>(item: T, filters: Filters): boolean;
759
+
760
+ declare const getOccupantMainLocation: (occupant: OccupantFeaturePopulated) => UnitFeaturePopulated | KioskFeaturePopulated;
761
+ declare const getOccupantCorrelatedLocations: (occupant: OccupantFeaturePopulated) => Array<UnitFeaturePopulated | KioskFeaturePopulated>;
762
+ type OccupantMarkerPlacementType = 'ONCE_PER_LEVEL' | 'ALL_LOCATIONS';
763
+ declare const getOccupantMarkerLocations: (occupant: OccupantFeaturePopulated, options?: {
764
+ type: OccupantMarkerPlacementType;
765
+ }) => Array<UnitFeaturePopulated | KioskFeaturePopulated>;
766
+
767
+ type occupantHelper_OccupantMarkerPlacementType = OccupantMarkerPlacementType;
768
+ declare const occupantHelper_getOccupantCorrelatedLocations: typeof getOccupantCorrelatedLocations;
769
+ declare const occupantHelper_getOccupantMainLocation: typeof getOccupantMainLocation;
770
+ declare const occupantHelper_getOccupantMarkerLocations: typeof getOccupantMarkerLocations;
771
+ declare namespace occupantHelper {
772
+ export { type occupantHelper_OccupantMarkerPlacementType as OccupantMarkerPlacementType, occupantHelper_getOccupantCorrelatedLocations as getOccupantCorrelatedLocations, occupantHelper_getOccupantMainLocation as getOccupantMainLocation, occupantHelper_getOccupantMarkerLocations as getOccupantMarkerLocations };
773
+ }
706
774
 
707
775
  declare const getDataClient: (options: VenueClientOptions) => VenueDataClient;
708
776
 
777
+ type TextMarkerOptions = BaseObjectOptionType & {
778
+ text?: string;
779
+ textAlign?: CanvasTextAlign;
780
+ color?: CanvasFillStrokeStyles["fillStyle"];
781
+ fontFamily?: string;
782
+ fontSize?: number;
783
+ fontWeight?: number;
784
+ background?: CanvasFillStrokeStyles["fillStyle"];
785
+ lineHeight?: number;
786
+ strokeColor?: CanvasFillStrokeStyles["strokeStyle"];
787
+ strokeWidth?: number;
788
+ strokeStyle?: CanvasLineJoin;
789
+ padding?: number;
790
+ maxWidth?: number;
791
+ scale?: number;
792
+ altitude?: number;
793
+ bottomHeight?: number;
794
+ opacity?: number | {
795
+ stops: Stop[];
796
+ };
797
+ };
798
+
799
+ type Stop = [zoom: number, value: number];
800
+ type MapElement = maptalks.Geometry | BaseObject;
709
801
  /** 2D */
710
802
  type TypeRenderOptions<TOptionsType> = {
711
803
  default: TOptionsType;
@@ -728,19 +820,26 @@ type Element3DRendererOptions = {
728
820
  unit?: TypeRenderOptions<CreateExtrudePolygonOptionType>;
729
821
  };
730
822
  /** RendererManager */
731
- type RendererManagerOptions = {
823
+ type BaseRenderManagerOptions = {
824
+ delayBeforeCreateElements?: number;
825
+ onRendererReady?: () => void;
826
+ };
827
+ type RendererManagerOptions = BaseRenderManagerOptions & {
732
828
  type: "2D";
733
829
  elements: Element2DRendererOptions;
734
- onRendererReady?: () => void;
735
- } | {
830
+ } | BaseRenderManagerOptions & {
736
831
  type: "3D";
737
832
  elements: Element3DRendererOptions;
738
- onRendererReady?: () => void;
833
+ };
834
+ type HighlightElementOptions = {
835
+ reset: boolean;
739
836
  };
740
837
 
838
+ type AnyMarkerOptions = TextMarkerOptions;
839
+
741
840
  declare class RendererManager extends EventTarget {
742
841
  #private;
743
- map: maptalks.Map;
842
+ map: maptalks$1.Map;
744
843
  options: RendererManagerOptions;
745
844
  /** Elements: Responsible for converting feature info elements and add to map */
746
845
  private elementRenderer;
@@ -750,31 +849,51 @@ declare class RendererManager extends EventTarget {
750
849
  private currentOrdinals;
751
850
  private markersMap;
752
851
  private markersByOrdinal;
753
- constructor(map: maptalks.Map, dataClient: VenueDataClient, options: RendererManagerOptions);
754
- getElementsByOrdinal: (ordinal: number) => BaseObject[] | maptalks.Geometry[];
755
- getMarkersByOrdinal: (ordinal: number) => BaseObject[] | maptalks.ui.UIMarker[];
852
+ private highlightControllers;
853
+ constructor(map: maptalks$1.Map, dataClient: VenueDataClient, options: RendererManagerOptions);
854
+ set onClickElement(func: any);
855
+ handleClickElement: (e: any) => void;
856
+ getElementsByOrdinal: (ordinal: number) => MapElement[];
756
857
  addElementsToManager: (id: any, elements: any, ordinal: any) => void;
757
- addMarkersToManager: (id: any, markers: any, ordinal: any) => void;
758
858
  changeLevelByOrdinal(targetOrdinal: null | number | number[]): void;
859
+ highlightElements: (elemIds: string[], options?: HighlightElementOptions) => void;
860
+ clearHighlightElements: () => void;
759
861
  /**
760
862
  * ========================================================================
761
863
  * Markers
762
864
  * ======================================================================== */
763
- createMarker(coordinate: Position, ordinal: number, text: string, options: any): void;
865
+ _getMarkersByOrdinal: (ordinal: number) => BaseObject[] | maptalks$1.ui.UIMarker[];
866
+ _addMarkersToManager: (id: any, markers: any, ordinal: any) => void;
867
+ createMarker(coordinate: Position, ordinal: number, text: string, options: AnyMarkerOptions): void;
764
868
  clearMarkers(): void;
765
869
  }
766
870
 
871
+ interface CameraManagerOptions {
872
+ defaultView?: MapViewType;
873
+ }
874
+ declare class CameraManager {
875
+ map: Map;
876
+ constructor(map: Map, options?: CameraManagerOptions);
877
+ /** Public methods */
878
+ getView: () => MapViewType;
879
+ setView: (value: MapViewType) => void;
880
+ animateTo: (view: MapViewType, options?: MapAnimationOptionsType, step?: (frame: any) => void) => void;
881
+ setMaxExtent(extent: Extent): Map;
882
+ getFeatureExtent: (feature: any, scaleFactor?: number) => Extent;
883
+ getExtentZoom: (extent: Extent, options?: {
884
+ isFraction?: boolean;
885
+ padding?: MapPaddingType;
886
+ }) => number;
887
+ set maxZoom(value: number);
888
+ set minZoom(value: number);
889
+ }
890
+
767
891
  interface IndoorMapOptions {
768
892
  onMapReady?: () => void;
769
893
  onMapLoading?: () => void;
770
894
  centerCross?: boolean;
771
895
  dataClient: VenueDataClient;
772
- camera?: {
773
- defaultCenter?: [number, number];
774
- defaultZoom?: number;
775
- defaultBearing?: number;
776
- defaultPitch?: number;
777
- };
896
+ camera?: CameraManagerOptions;
778
897
  renderer?: RendererManagerOptions;
779
898
  pixelRatio?: number;
780
899
  locale?: string;
@@ -859,29 +978,9 @@ interface IMapConfig {
859
978
  prepare_steps?: IGraphFeatureOptions;
860
979
  }
861
980
 
862
- interface CameraManagerOptions {
863
- defaultView?: MapViewType;
864
- }
865
- declare class CameraManager {
866
- #private;
867
- map: Map;
868
- constructor(map: Map, options?: CameraManagerOptions);
869
- /** Public methods */
870
- getView: () => MapViewType;
871
- getZoom: () => number;
872
- setView: (value: MapViewType) => void;
873
- flyTo: (center: any, options?: MapAnimationOptionsType & MapViewType) => void;
874
- flyToAndZoomIn: (centerPoint: any, options?: MapAnimationOptionsType & MapViewType) => void;
875
- }
876
-
877
- type MapPaddingType = {
878
- paddingLeft: number;
879
- paddingRight: number;
880
- paddingTop: number;
881
- paddingBottom: number;
882
- };
883
981
  declare class IndoorMap extends EventTarget {
884
982
  #private;
983
+ options: IndoorMapOptions;
885
984
  map: Map | null;
886
985
  camera: CameraManager;
887
986
  rendererManager: RendererManager;
@@ -891,10 +990,10 @@ declare class IndoorMap extends EventTarget {
891
990
  onMapLoading: () => void;
892
991
  constructor(elementId: any, options: IndoorMapOptions);
893
992
  set dataClient(value: any);
894
- on(eventName: string, handler: any): void;
895
993
  /**
896
994
  * Events
897
995
  */
996
+ on(eventName: string, handler: any): void;
898
997
  handleMapClick: ({ coordinate }: {
899
998
  coordinate: any;
900
999
  }) => void;
@@ -910,34 +1009,21 @@ declare class IndoorMap extends EventTarget {
910
1009
  set mapTheme(value: any);
911
1010
  get venues(): any[];
912
1011
  set detectVenueInView(value: any);
913
- get ordinals(): any[];
914
- set ordinals(value: any[]);
915
1012
  set billboards(value: any);
916
- set mapConfig(value: IMapConfig);
917
1013
  set mapDecorations(value: any);
918
- set maxZoom(value: number);
919
- set minZoom(value: number);
920
1014
  set groundLabels(value: any);
921
1015
  set pixelRatio(value: number);
922
1016
  set onClickElement(func: any);
923
1017
  set locale(value: string);
924
1018
  handleClickElement: (e: any) => void;
925
- setCenter(center: Coordinate$1, padding?: MapPaddingType): void;
926
1019
  /**
927
1020
  * Change Level & animate to path / geometry / view / etc.
928
1021
  * ================================== */
929
1022
  changeLevelByOrdinal(ordinal: null | number | number[]): void;
930
- getFeatureExtent: (feature: any, scaleFactor?: number) => Extent;
931
- getExtentCenter: (extent: Extent) => maptalks_dist_geo_Extent.PositionType;
932
- getExtentZoom: (extent: Extent, options?: {
933
- isFraction?: boolean;
934
- padding?: MapPaddingType;
935
- }) => number;
936
1023
  findVenueInView: () => {
937
1024
  venueId: string;
938
1025
  distance: number;
939
1026
  };
940
- flyTo: (center: any, options: any) => void;
941
1027
  getLineStringBearing: (feature: any) => number;
942
1028
  addAnimations(animation: {
943
1029
  id: string;
@@ -1005,15 +1091,6 @@ declare class IndoorMap extends EventTarget {
1005
1091
  /**
1006
1092
  * render (frame)
1007
1093
  */
1008
- getTargetViewCenter: (targetView: any, options?: {
1009
- offset: {
1010
- top: number;
1011
- left: number;
1012
- right: number;
1013
- bottom: number;
1014
- };
1015
- }) => Coordinate$1;
1016
- setMaxExtent(extent: Extent): Map;
1017
1094
  render(): void;
1018
1095
  }
1019
1096
 
@@ -1116,11 +1193,7 @@ declare function styledFeatureGenerator(mapTheme: any): {
1116
1193
  create3DAmenityMarker: (feature: any, threeLayer: any, config: any) => SpriteMarker;
1117
1194
  create3DOccupantAmenityMarker: (feature: any, threeLayer: any, config: any) => SpriteMarker;
1118
1195
  create3DOpeningMarker: (feature: any, threeLayer: any, config: any) => SpriteMarker;
1119
- createVenue3DModel: (venue: any, threeLayer: any) => Promise<any[]>;
1120
- create3DFixture: (fixture: any, threeLayer: any) => Promise<any[]>;
1121
1196
  createExtrudedUnit: (unit: any, threeLayer: any, options: any) => any;
1122
- createAmbientLight: (config: any) => AmbientLight;
1123
- createDirectionalLight: (config: any) => DirectionalLight;
1124
1197
  };
1125
1198
  declare function getLocationByAmenity(feature: any): any;
1126
1199
  declare function getLocationByOccupant(feature: any): any;
@@ -1211,4 +1284,4 @@ declare const VENUE_EVENTS: {
1211
1284
  VENUE_MOVEINTOVIEW: string;
1212
1285
  };
1213
1286
 
1214
- export { ALL_FEATURE_TYPES, ALWAYS_VISIBLE_FEATURE_TYPES, type AmenityFeature, type AmenityFeaturePopulated, type AmenityGeometry, type AmenityProperties, type AnchorFeature, type AnchorFeaturePopulated, type AnchorGeometry, type AnchorProperties, BASE_LAYER_NAME, DEFAULT_BASE_URL, DEFAULT_HIGHLIGHT_OPTIONS, DEFAULT_LOCALE, DEFAULT_SET_HIGHLIGHT_2DELEMENT_IDS_OPTIONS, DESTINATION_MARKER_ID, type DetailFeature, type DetailGeometry, type DetailProperties, type ElementFeature, type ElementGeometry, type ElementProperties, type EventFeature, type EventGeometry, type EventProperties, type FeaturePopulatedResponseMap, type FeatureQueryOptions, type FeatureResponseMap, type FeatureType, type FilterParams, type FindParams, type FixtureFeature, type FixtureFeaturePopulated, type FixtureGeometry, type FixtureProperties, GEOJSON_FEATURE_TYPES, HIGHLIGHT_LAYER_NAME, IMDF_FEATURE_TYPES, type Id, type ImdfFeature, IndoorMap, type InternalFilterByType, type InternalFindById, type KioskFeature, type KioskFeaturePopulated, type KioskGeometry, type KioskProperties, LAST_USER_LOCATION_ELEMENT_ID_PREFIX, LAYERS, LAYER_FEATURE_TYPE_OBJ, LAYER_OPTIONS, LOCALE_SYMBOL_KEY, type LabelFeature, type LabelGeometry, type LabelProperties, type LevelFeature, type LevelFeaturePopulated, type LevelGeometry, type LevelProperties, MARKER_LAYER_NAME, type Media, type MediaFile, type Model3d, NONIMDF_FEATURE_TYPES, ORIGIN_MARKER_ID, type OccupantFeature, type OccupantFeaturePopulated, type OccupantGeometry, type OccupantProperties, type OpeningFeature, type OpeningFeaturePopulated, type OpeningGeometry, type OpeningProperties, POI_MARKER_LAYER_NAME, type Page, type PolygonalFeature, type PopulatableFeatureType, type PopulatedParams, type PrivilegeFeature, type PrivilegeGeometry, type PrivilegeProperties, type PromotionFeature, type PromotionProperties, type RelationshipFeature, type RelationshipGeometry, type RelationshipProperties, type SectionFeature, type SectionFeaturePopulated, type SectionGeometry, type SectionProperties, type SponsoredContentFeature, type SponsoredContentLegacyType, type SponsoredContentPlacementType, type SponsoredContentStrapiV4ApiResponse, type TaxonomyFeature, type TaxonomyFeaturePopulated, type TaxonomyGeometry, type TaxonomyProperties, USER_LOCATION_ELEMENT_ID, USER_LOCATION_LAYER_NAME, type UnitFeature, type UnitFeaturePopulated, type UnitGeometry, type UnitProperties, VENUE_EVENTS, type VenueClientOptions, type VenueDataClient, type VenueFeature, type VenueFeaturePopulated, type VenueGeometry, type VenueProperties, createPolygonFromLineString, createSpriteMaterialByLabelSymbol, createStyledUIMarkerElement, defaultFeatureQueryOptionsMap, fetchFeature, getBearingBetweenPoints, getCenterFromGeometry, getDataClient, getExtrudeConfigByFeature, getFeatureByLocationId, getLocationByAmenity, getLocationByFeature, getLocationByOccupant, getLocationIdByFeature, getOrdinalByLocationId, getRelatedLocationIdsByFeature, getRelatedLocationsByAmenity, getRelatedLocationsByFeature, getRelatedLocationsByOccupant, getSuitablyValueBetweenBearings, isClickableFeature, safeFetchFeature, styledFeatureGenerator };
1287
+ export { ALL_FEATURE_TYPES, ALWAYS_VISIBLE_FEATURE_TYPES, type AmenityFeature, type AmenityFeaturePopulated, type AmenityGeometry, type AmenityProperties, type AnchorFeature, type AnchorFeaturePopulated, type AnchorGeometry, type AnchorProperties, BASE_LAYER_NAME, DEFAULT_BASE_URL, DEFAULT_HIGHLIGHT_OPTIONS, DEFAULT_LOCALE, DEFAULT_SET_HIGHLIGHT_2DELEMENT_IDS_OPTIONS, DESTINATION_MARKER_ID, type DetailFeature, type DetailGeometry, type DetailProperties, type ElementFeature, type ElementGeometry, type ElementProperties, type EventFeature, type EventGeometry, type EventProperties, type FeaturePopulatedResponseMap, type FeatureQueryOptions, type FeatureResponseMap, type FeatureType, type FilterParams, type FindParams, type FixtureFeature, type FixtureFeaturePopulated, type FixtureGeometry, type FixtureProperties, GEOJSON_FEATURE_TYPES, HIGHLIGHT_LAYER_NAME, type IAllVenuesViewConfig, type IExtrudeConfig, type IGraphFeatureOptions, type IGraphOptions, type IHighlightOptions, IMDF_FEATURE_TYPES, type IMapAnimation, type IMapConfig, type IMapExtrudeConfig, type ISetHighlight2DElementIdsOptions, type ISetHighlightElementIdsOptions, type IUnitDistanceModifier, type IVerticalGraphOptions, type Id, type ImdfFeature, IndoorMap, type IndoorMapOptions, type InternalFilterByType, type InternalFindById, type KioskFeature, type KioskFeaturePopulated, type KioskGeometry, type KioskProperties, LAST_USER_LOCATION_ELEMENT_ID_PREFIX, LAYERS, LAYER_FEATURE_TYPE_OBJ, LAYER_OPTIONS, LOCALE_SYMBOL_KEY, type LabelFeature, type LabelGeometry, type LabelProperties, type LevelFeature, type LevelFeaturePopulated, type LevelGeometry, type LevelProperties, MARKER_LAYER_NAME, type Media, type MediaFile, type Model3d, NONIMDF_FEATURE_TYPES, ORIGIN_MARKER_ID, type OccupantFeature, type OccupantFeaturePopulated, type OccupantGeometry, occupantHelper as OccupantHelpers, type OccupantProperties, type OpeningFeature, type OpeningFeaturePopulated, type OpeningGeometry, type OpeningProperties, POI_MARKER_LAYER_NAME, type Page, type PolygonalFeature, type PopulatableFeatureType, type PopulatedParams, type PrivilegeFeature, type PrivilegeGeometry, type PrivilegeProperties, type PromotionFeature, type PromotionProperties, type RelationshipFeature, type RelationshipGeometry, type RelationshipProperties, type SectionFeature, type SectionFeaturePopulated, type SectionGeometry, type SectionProperties, type SponsoredContentFeature, type SponsoredContentLegacyType, type SponsoredContentPlacementType, type SponsoredContentStrapiV4ApiResponse, type SymbolSet, type TaxonomyFeature, type TaxonomyFeaturePopulated, type TaxonomyGeometry, type TaxonomyProperties, USER_LOCATION_ELEMENT_ID, USER_LOCATION_LAYER_NAME, type UnitFeature, type UnitFeaturePopulated, type UnitGeometry, type UnitProperties, VENUE_EVENTS, type VenueClientOptions, type VenueDataClient, type VenueFeature, type VenueFeaturePopulated, type VenueGeometry, type VenueProperties, createPolygonFromLineString, createSpriteMaterialByLabelSymbol, createStyledUIMarkerElement, defaultFeatureQueryOptionsMap, fetchDeliveryApi, fetchPreviewApi, getBearingBetweenPoints, getCenterFromGeometry, getDataClient, getExtrudeConfigByFeature, getFeatureByLocationId, getLocationByAmenity, getLocationByFeature, getLocationByOccupant, getLocationIdByFeature, getOrdinalByLocationId, getRelatedLocationIdsByFeature, getRelatedLocationsByAmenity, getRelatedLocationsByFeature, getRelatedLocationsByOccupant, getSuitablyValueBetweenBearings, isClickableFeature, isValidCoordinate, isValidLineString, isValidLineStringCoordinates, isValidMultiPolygon, isValidMultiPolygonCoordinates, isValidPoint, isValidPolygon, isValidPolygonCoordinates, matchFilter, matchFilters, safeFetchFeature, styledFeatureGenerator };