venue-js 1.2.0-next.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
@@ -713,8 +717,87 @@ declare const safeFetchFeature: <T extends FeatureType = FeatureType>(featureTyp
713
717
  baseUrl: string;
714
718
  }) => Promise<FeatureResponseMap[T][]>;
715
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
+ }
774
+
716
775
  declare const getDataClient: (options: VenueClientOptions) => VenueDataClient;
717
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;
718
801
  /** 2D */
719
802
  type TypeRenderOptions<TOptionsType> = {
720
803
  default: TOptionsType;
@@ -737,19 +820,26 @@ type Element3DRendererOptions = {
737
820
  unit?: TypeRenderOptions<CreateExtrudePolygonOptionType>;
738
821
  };
739
822
  /** RendererManager */
740
- type RendererManagerOptions = {
823
+ type BaseRenderManagerOptions = {
824
+ delayBeforeCreateElements?: number;
825
+ onRendererReady?: () => void;
826
+ };
827
+ type RendererManagerOptions = BaseRenderManagerOptions & {
741
828
  type: "2D";
742
829
  elements: Element2DRendererOptions;
743
- onRendererReady?: () => void;
744
- } | {
830
+ } | BaseRenderManagerOptions & {
745
831
  type: "3D";
746
832
  elements: Element3DRendererOptions;
747
- onRendererReady?: () => void;
748
833
  };
834
+ type HighlightElementOptions = {
835
+ reset: boolean;
836
+ };
837
+
838
+ type AnyMarkerOptions = TextMarkerOptions;
749
839
 
750
840
  declare class RendererManager extends EventTarget {
751
841
  #private;
752
- map: maptalks.Map;
842
+ map: maptalks$1.Map;
753
843
  options: RendererManagerOptions;
754
844
  /** Elements: Responsible for converting feature info elements and add to map */
755
845
  private elementRenderer;
@@ -759,31 +849,51 @@ declare class RendererManager extends EventTarget {
759
849
  private currentOrdinals;
760
850
  private markersMap;
761
851
  private markersByOrdinal;
762
- constructor(map: maptalks.Map, dataClient: VenueDataClient, options: RendererManagerOptions);
763
- getElementsByOrdinal: (ordinal: number) => BaseObject[] | maptalks.Geometry[];
764
- 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[];
765
857
  addElementsToManager: (id: any, elements: any, ordinal: any) => void;
766
- addMarkersToManager: (id: any, markers: any, ordinal: any) => void;
767
858
  changeLevelByOrdinal(targetOrdinal: null | number | number[]): void;
859
+ highlightElements: (elemIds: string[], options?: HighlightElementOptions) => void;
860
+ clearHighlightElements: () => void;
768
861
  /**
769
862
  * ========================================================================
770
863
  * Markers
771
864
  * ======================================================================== */
772
- 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;
773
868
  clearMarkers(): void;
774
869
  }
775
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
+
776
891
  interface IndoorMapOptions {
777
892
  onMapReady?: () => void;
778
893
  onMapLoading?: () => void;
779
894
  centerCross?: boolean;
780
895
  dataClient: VenueDataClient;
781
- camera?: {
782
- defaultCenter?: [number, number];
783
- defaultZoom?: number;
784
- defaultBearing?: number;
785
- defaultPitch?: number;
786
- };
896
+ camera?: CameraManagerOptions;
787
897
  renderer?: RendererManagerOptions;
788
898
  pixelRatio?: number;
789
899
  locale?: string;
@@ -868,29 +978,9 @@ interface IMapConfig {
868
978
  prepare_steps?: IGraphFeatureOptions;
869
979
  }
870
980
 
871
- interface CameraManagerOptions {
872
- defaultView?: MapViewType;
873
- }
874
- declare class CameraManager {
875
- #private;
876
- map: Map;
877
- constructor(map: Map, options?: CameraManagerOptions);
878
- /** Public methods */
879
- getView: () => MapViewType;
880
- getZoom: () => number;
881
- setView: (value: MapViewType) => void;
882
- flyTo: (center: any, options?: MapAnimationOptionsType & MapViewType) => void;
883
- flyToAndZoomIn: (centerPoint: any, options?: MapAnimationOptionsType & MapViewType) => void;
884
- }
885
-
886
- type MapPaddingType = {
887
- paddingLeft: number;
888
- paddingRight: number;
889
- paddingTop: number;
890
- paddingBottom: number;
891
- };
892
981
  declare class IndoorMap extends EventTarget {
893
982
  #private;
983
+ options: IndoorMapOptions;
894
984
  map: Map | null;
895
985
  camera: CameraManager;
896
986
  rendererManager: RendererManager;
@@ -900,10 +990,10 @@ declare class IndoorMap extends EventTarget {
900
990
  onMapLoading: () => void;
901
991
  constructor(elementId: any, options: IndoorMapOptions);
902
992
  set dataClient(value: any);
903
- on(eventName: string, handler: any): void;
904
993
  /**
905
994
  * Events
906
995
  */
996
+ on(eventName: string, handler: any): void;
907
997
  handleMapClick: ({ coordinate }: {
908
998
  coordinate: any;
909
999
  }) => void;
@@ -919,34 +1009,21 @@ declare class IndoorMap extends EventTarget {
919
1009
  set mapTheme(value: any);
920
1010
  get venues(): any[];
921
1011
  set detectVenueInView(value: any);
922
- get ordinals(): any[];
923
- set ordinals(value: any[]);
924
1012
  set billboards(value: any);
925
- set mapConfig(value: IMapConfig);
926
1013
  set mapDecorations(value: any);
927
- set maxZoom(value: number);
928
- set minZoom(value: number);
929
1014
  set groundLabels(value: any);
930
1015
  set pixelRatio(value: number);
931
1016
  set onClickElement(func: any);
932
1017
  set locale(value: string);
933
1018
  handleClickElement: (e: any) => void;
934
- setCenter(center: Coordinate$1, padding?: MapPaddingType): void;
935
1019
  /**
936
1020
  * Change Level & animate to path / geometry / view / etc.
937
1021
  * ================================== */
938
1022
  changeLevelByOrdinal(ordinal: null | number | number[]): void;
939
- getFeatureExtent: (feature: any, scaleFactor?: number) => Extent;
940
- getExtentCenter: (extent: Extent) => maptalks_dist_geo_Extent.PositionType;
941
- getExtentZoom: (extent: Extent, options?: {
942
- isFraction?: boolean;
943
- padding?: MapPaddingType;
944
- }) => number;
945
1023
  findVenueInView: () => {
946
1024
  venueId: string;
947
1025
  distance: number;
948
1026
  };
949
- flyTo: (center: any, options: any) => void;
950
1027
  getLineStringBearing: (feature: any) => number;
951
1028
  addAnimations(animation: {
952
1029
  id: string;
@@ -1014,15 +1091,6 @@ declare class IndoorMap extends EventTarget {
1014
1091
  /**
1015
1092
  * render (frame)
1016
1093
  */
1017
- getTargetViewCenter: (targetView: any, options?: {
1018
- offset: {
1019
- top: number;
1020
- left: number;
1021
- right: number;
1022
- bottom: number;
1023
- };
1024
- }) => Coordinate$1;
1025
- setMaxExtent(extent: Extent): Map;
1026
1094
  render(): void;
1027
1095
  }
1028
1096
 
@@ -1125,11 +1193,7 @@ declare function styledFeatureGenerator(mapTheme: any): {
1125
1193
  create3DAmenityMarker: (feature: any, threeLayer: any, config: any) => SpriteMarker;
1126
1194
  create3DOccupantAmenityMarker: (feature: any, threeLayer: any, config: any) => SpriteMarker;
1127
1195
  create3DOpeningMarker: (feature: any, threeLayer: any, config: any) => SpriteMarker;
1128
- createVenue3DModel: (venue: any, threeLayer: any) => Promise<any[]>;
1129
- create3DFixture: (fixture: any, threeLayer: any) => Promise<any[]>;
1130
1196
  createExtrudedUnit: (unit: any, threeLayer: any, options: any) => any;
1131
- createAmbientLight: (config: any) => AmbientLight;
1132
- createDirectionalLight: (config: any) => DirectionalLight;
1133
1197
  };
1134
1198
  declare function getLocationByAmenity(feature: any): any;
1135
1199
  declare function getLocationByOccupant(feature: any): any;
@@ -1220,4 +1284,4 @@ declare const VENUE_EVENTS: {
1220
1284
  VENUE_MOVEINTOVIEW: string;
1221
1285
  };
1222
1286
 
1223
- 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, fetchDeliveryApi, fetchPreviewApi, 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 };