venue-js 1.2.0-next.1 → 1.2.0-next.11
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 +136 -90
- package/dist/index.d.ts +136 -90
- package/dist/index.js +819 -1261
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +814 -1259
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
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
|
|
7
|
-
import { Map, Coordinate
|
|
6
|
+
import * as maptalks$1 from 'maptalks-gl';
|
|
7
|
+
import { Map, Coordinate } from 'maptalks-gl';
|
|
8
8
|
import { BaseObject, ThreeLayer } from 'maptalks.three';
|
|
9
9
|
import * as maptalks from 'maptalks';
|
|
10
|
-
import {
|
|
11
|
-
import { ExtrudePolygonOptionType } from 'maptalks.three/dist/type';
|
|
10
|
+
import { Extent, 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
|
|
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
|
|
823
|
+
type BaseRenderManagerOptions = {
|
|
824
|
+
delayBeforeCreateElements?: number;
|
|
825
|
+
onRendererReady?: () => void;
|
|
826
|
+
};
|
|
827
|
+
type RendererManagerOptions = BaseRenderManagerOptions & {
|
|
741
828
|
type: "2D";
|
|
742
829
|
elements: Element2DRendererOptions;
|
|
743
|
-
|
|
744
|
-
} | {
|
|
830
|
+
} | BaseRenderManagerOptions & {
|
|
745
831
|
type: "3D";
|
|
746
832
|
elements: Element3DRendererOptions;
|
|
747
|
-
|
|
833
|
+
};
|
|
834
|
+
type HighlightElementOptions = {
|
|
835
|
+
reset: boolean;
|
|
748
836
|
};
|
|
749
837
|
|
|
838
|
+
type AnyMarkerOptions = TextMarkerOptions;
|
|
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,52 @@ declare class RendererManager extends EventTarget {
|
|
|
759
849
|
private currentOrdinals;
|
|
760
850
|
private markersMap;
|
|
761
851
|
private markersByOrdinal;
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
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
|
-
|
|
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;
|
|
894
|
+
interactions?: boolean;
|
|
779
895
|
centerCross?: boolean;
|
|
780
896
|
dataClient: VenueDataClient;
|
|
781
|
-
camera?:
|
|
782
|
-
defaultCenter?: [number, number];
|
|
783
|
-
defaultZoom?: number;
|
|
784
|
-
defaultBearing?: number;
|
|
785
|
-
defaultPitch?: number;
|
|
786
|
-
};
|
|
897
|
+
camera?: CameraManagerOptions;
|
|
787
898
|
renderer?: RendererManagerOptions;
|
|
788
899
|
pixelRatio?: number;
|
|
789
900
|
locale?: string;
|
|
@@ -797,10 +908,6 @@ interface ISetHighlight2DElementIdsOptions {
|
|
|
797
908
|
symbolSet?: SymbolSet;
|
|
798
909
|
defaultMarker?: boolean;
|
|
799
910
|
}
|
|
800
|
-
interface ISetHighlightElementIdsOptions {
|
|
801
|
-
highlight3DOptions?: IHighlightOptions;
|
|
802
|
-
highlight2DOptions?: ISetHighlight2DElementIdsOptions;
|
|
803
|
-
}
|
|
804
911
|
interface IMapExtrudeConfig {
|
|
805
912
|
height: number;
|
|
806
913
|
category: string;
|
|
@@ -868,29 +975,9 @@ interface IMapConfig {
|
|
|
868
975
|
prepare_steps?: IGraphFeatureOptions;
|
|
869
976
|
}
|
|
870
977
|
|
|
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
978
|
declare class IndoorMap extends EventTarget {
|
|
893
979
|
#private;
|
|
980
|
+
options: IndoorMapOptions;
|
|
894
981
|
map: Map | null;
|
|
895
982
|
camera: CameraManager;
|
|
896
983
|
rendererManager: RendererManager;
|
|
@@ -900,10 +987,10 @@ declare class IndoorMap extends EventTarget {
|
|
|
900
987
|
onMapLoading: () => void;
|
|
901
988
|
constructor(elementId: any, options: IndoorMapOptions);
|
|
902
989
|
set dataClient(value: any);
|
|
903
|
-
on(eventName: string, handler: any): void;
|
|
904
990
|
/**
|
|
905
991
|
* Events
|
|
906
992
|
*/
|
|
993
|
+
on(eventName: string, handler: any): void;
|
|
907
994
|
handleMapClick: ({ coordinate }: {
|
|
908
995
|
coordinate: any;
|
|
909
996
|
}) => void;
|
|
@@ -919,34 +1006,21 @@ declare class IndoorMap extends EventTarget {
|
|
|
919
1006
|
set mapTheme(value: any);
|
|
920
1007
|
get venues(): any[];
|
|
921
1008
|
set detectVenueInView(value: any);
|
|
922
|
-
get ordinals(): any[];
|
|
923
|
-
set ordinals(value: any[]);
|
|
924
1009
|
set billboards(value: any);
|
|
925
|
-
set mapConfig(value: IMapConfig);
|
|
926
1010
|
set mapDecorations(value: any);
|
|
927
|
-
set maxZoom(value: number);
|
|
928
|
-
set minZoom(value: number);
|
|
929
1011
|
set groundLabels(value: any);
|
|
930
1012
|
set pixelRatio(value: number);
|
|
931
1013
|
set onClickElement(func: any);
|
|
932
1014
|
set locale(value: string);
|
|
933
1015
|
handleClickElement: (e: any) => void;
|
|
934
|
-
setCenter(center: Coordinate$1, padding?: MapPaddingType): void;
|
|
935
1016
|
/**
|
|
936
1017
|
* Change Level & animate to path / geometry / view / etc.
|
|
937
1018
|
* ================================== */
|
|
938
1019
|
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
1020
|
findVenueInView: () => {
|
|
946
1021
|
venueId: string;
|
|
947
1022
|
distance: number;
|
|
948
1023
|
};
|
|
949
|
-
flyTo: (center: any, options: any) => void;
|
|
950
1024
|
getLineStringBearing: (feature: any) => number;
|
|
951
1025
|
addAnimations(animation: {
|
|
952
1026
|
id: string;
|
|
@@ -954,18 +1028,6 @@ declare class IndoorMap extends EventTarget {
|
|
|
954
1028
|
}): void;
|
|
955
1029
|
removeAnimationById(id: string): void;
|
|
956
1030
|
clearAnimations(): void;
|
|
957
|
-
/**
|
|
958
|
-
* Hilighting Elements
|
|
959
|
-
* ========================================= */
|
|
960
|
-
setHighlightElementIds(targetElementIds: any, options?: ISetHighlightElementIdsOptions): geojson.FeatureCollection<geojson.Geometry, {
|
|
961
|
-
[name: string]: any;
|
|
962
|
-
}>;
|
|
963
|
-
setHighlight2DElementIds(targetElementIds: any, options?: {}): geojson.FeatureCollection<geojson.Geometry, {
|
|
964
|
-
[name: string]: any;
|
|
965
|
-
}>;
|
|
966
|
-
clearHighlightElements(): void;
|
|
967
|
-
setHighlightedObject(targetObjectIds: any, options?: {}): void;
|
|
968
|
-
clearHighlightObject(): void;
|
|
969
1031
|
/**
|
|
970
1032
|
* User Location
|
|
971
1033
|
****************************/
|
|
@@ -1014,15 +1076,6 @@ declare class IndoorMap extends EventTarget {
|
|
|
1014
1076
|
/**
|
|
1015
1077
|
* render (frame)
|
|
1016
1078
|
*/
|
|
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
1079
|
render(): void;
|
|
1027
1080
|
}
|
|
1028
1081
|
|
|
@@ -1125,11 +1178,7 @@ declare function styledFeatureGenerator(mapTheme: any): {
|
|
|
1125
1178
|
create3DAmenityMarker: (feature: any, threeLayer: any, config: any) => SpriteMarker;
|
|
1126
1179
|
create3DOccupantAmenityMarker: (feature: any, threeLayer: any, config: any) => SpriteMarker;
|
|
1127
1180
|
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
1181
|
createExtrudedUnit: (unit: any, threeLayer: any, options: any) => any;
|
|
1131
|
-
createAmbientLight: (config: any) => AmbientLight;
|
|
1132
|
-
createDirectionalLight: (config: any) => DirectionalLight;
|
|
1133
1182
|
};
|
|
1134
1183
|
declare function getLocationByAmenity(feature: any): any;
|
|
1135
1184
|
declare function getLocationByOccupant(feature: any): any;
|
|
@@ -1156,7 +1205,6 @@ declare const getSuitablyValueBetweenBearings: GetSuitablyValueBetweenBearings;
|
|
|
1156
1205
|
declare const getCenterFromGeometry: (geometry?: Polygon | MultiPolygon | Point | LineString) => number[] | null;
|
|
1157
1206
|
declare const createPolygonFromLineString: (geometry: any) => geojson.Position[][];
|
|
1158
1207
|
|
|
1159
|
-
declare const ALWAYS_VISIBLE_FEATURE_TYPES: string[];
|
|
1160
1208
|
declare const BASE_LAYER_NAME = "base";
|
|
1161
1209
|
declare const POI_MARKER_LAYER_NAME = "poi";
|
|
1162
1210
|
declare const MARKER_LAYER_NAME = "marker";
|
|
@@ -1168,8 +1216,6 @@ declare const USER_LOCATION_ELEMENT_ID = "user_location";
|
|
|
1168
1216
|
declare const LAST_USER_LOCATION_ELEMENT_ID_PREFIX = "last_user_location-";
|
|
1169
1217
|
declare const LOCALE_SYMBOL_KEY = "locale_symbol";
|
|
1170
1218
|
declare const DEFAULT_LOCALE = "en";
|
|
1171
|
-
declare const DEFAULT_HIGHLIGHT_OPTIONS: IHighlightOptions;
|
|
1172
|
-
declare const DEFAULT_SET_HIGHLIGHT_2DELEMENT_IDS_OPTIONS: ISetHighlight2DElementIdsOptions;
|
|
1173
1219
|
declare const LAYERS: string[];
|
|
1174
1220
|
declare const LAYER_OPTIONS: {
|
|
1175
1221
|
base: {
|
|
@@ -1220,4 +1266,4 @@ declare const VENUE_EVENTS: {
|
|
|
1220
1266
|
VENUE_MOVEINTOVIEW: string;
|
|
1221
1267
|
};
|
|
1222
1268
|
|
|
1223
|
-
export { ALL_FEATURE_TYPES,
|
|
1269
|
+
export { ALL_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_LOCALE, 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 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 };
|