venue-js 1.0.0-1 → 1.0.0-2
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 +40 -35
- package/dist/index.d.ts +40 -35
- package/dist/index.js +136 -122
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +138 -123
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3,8 +3,8 @@ 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 from 'maptalks';
|
|
6
|
-
import { Coordinate, Map,
|
|
7
|
-
import {
|
|
6
|
+
import { Coordinate, Map, MapViewType, MapAnimationOptionsType, HandlerFn, EventParams, MapPaddingType, Extent, Marker, ui, LineString as LineString$1, Polygon as Polygon$1, MultiPolygon as MultiPolygon$1, MultiLineString } from 'maptalks';
|
|
7
|
+
import { BaseObject, ThreeLayer } from 'maptalks.three';
|
|
8
8
|
import { ExtrudePolygonOptionType } from 'maptalks.three/dist/type';
|
|
9
9
|
import { SpriteMaterial, AmbientLight, DirectionalLight } from 'three';
|
|
10
10
|
|
|
@@ -471,6 +471,22 @@ type AnchorFeaturePopulated = AnchorFeature & {
|
|
|
471
471
|
section?: SectionFeaturePopulated;
|
|
472
472
|
};
|
|
473
473
|
};
|
|
474
|
+
type FixtureFeaturePopulated = FixtureFeature & {
|
|
475
|
+
properties: FixtureFeature["properties"] & {
|
|
476
|
+
/**
|
|
477
|
+
* [IMDF] The unit this anchor is on.
|
|
478
|
+
*/
|
|
479
|
+
anchor: AnchorFeaturePopulated;
|
|
480
|
+
/**
|
|
481
|
+
* [IMDF] Level that kiosk is on
|
|
482
|
+
*/
|
|
483
|
+
level: LevelFeaturePopulated;
|
|
484
|
+
/**
|
|
485
|
+
* [IMDF] Venue that kiosk is in
|
|
486
|
+
*/
|
|
487
|
+
venue?: VenueFeaturePopulated;
|
|
488
|
+
};
|
|
489
|
+
};
|
|
474
490
|
type KioskFeaturePopulated = KioskFeature & {
|
|
475
491
|
properties: KioskFeature["properties"] & {
|
|
476
492
|
/**
|
|
@@ -589,7 +605,7 @@ type FeaturePopulatedResponseMap = {
|
|
|
589
605
|
anchor: AnchorFeaturePopulated;
|
|
590
606
|
building: ImdfFeature;
|
|
591
607
|
detail: DetailFeature;
|
|
592
|
-
fixture:
|
|
608
|
+
fixture: FixtureFeaturePopulated;
|
|
593
609
|
footprint: ImdfFeature;
|
|
594
610
|
geofence: ImdfFeature;
|
|
595
611
|
kiosk: KioskFeaturePopulated;
|
|
@@ -675,8 +691,9 @@ type CreateExtrudePolygonOptionType = ExtrudePolygonOptionType & {
|
|
|
675
691
|
offset?: number;
|
|
676
692
|
};
|
|
677
693
|
type Element3DRendererOptions = {
|
|
678
|
-
|
|
694
|
+
fixture?: TypeRenderOptions<CreateExtrudePolygonOptionType>;
|
|
679
695
|
kiosk?: TypeRenderOptions<CreateExtrudePolygonOptionType>;
|
|
696
|
+
unit?: TypeRenderOptions<CreateExtrudePolygonOptionType>;
|
|
680
697
|
};
|
|
681
698
|
/** RendererManager */
|
|
682
699
|
type RendererManagerOptions = {
|
|
@@ -687,8 +704,9 @@ type RendererManagerOptions = {
|
|
|
687
704
|
elements: Element3DRendererOptions;
|
|
688
705
|
};
|
|
689
706
|
|
|
690
|
-
declare class RendererManager {
|
|
707
|
+
declare class RendererManager extends EventTarget {
|
|
691
708
|
#private;
|
|
709
|
+
map: maptalks.Map;
|
|
692
710
|
options: RendererManagerOptions;
|
|
693
711
|
/** Elements: Responsible for converting feature info elements and add to map */
|
|
694
712
|
private elementRenderer;
|
|
@@ -696,19 +714,24 @@ declare class RendererManager {
|
|
|
696
714
|
private elementsByOrdinal;
|
|
697
715
|
constructor(map: maptalks.Map, options: RendererManagerOptions);
|
|
698
716
|
set dataClient(value: any);
|
|
717
|
+
getElementsByOrdinal: (ordinal: number) => (BaseObject | maptalks.Geometry | maptalks.ui.UIMarker)[];
|
|
699
718
|
changeLevelByOrdinal(targetOrdinal: null | number | number[]): void;
|
|
700
719
|
createMarker(coordinate: Position, ordinal: number, label: string): void;
|
|
701
720
|
}
|
|
702
721
|
|
|
703
722
|
interface IndoorMapOptions {
|
|
704
|
-
center?: [number, number];
|
|
705
|
-
defaultZoom?: number;
|
|
706
|
-
pixelRatio?: number;
|
|
707
|
-
locale?: string;
|
|
708
723
|
onMapReady?: () => void;
|
|
709
724
|
onMapLoading?: () => void;
|
|
710
725
|
dataClient: VenueDataClient;
|
|
726
|
+
camera?: {
|
|
727
|
+
defaultCenter?: [number, number];
|
|
728
|
+
defaultZoom?: number;
|
|
729
|
+
defaultBearing?: number;
|
|
730
|
+
defaultPitch?: number;
|
|
731
|
+
};
|
|
711
732
|
renderer?: RendererManagerOptions;
|
|
733
|
+
pixelRatio?: number;
|
|
734
|
+
locale?: string;
|
|
712
735
|
}
|
|
713
736
|
type AmenityHighlightMode = "2DMarker";
|
|
714
737
|
type SymbolSet = string | null;
|
|
@@ -791,34 +814,24 @@ interface IMapConfig {
|
|
|
791
814
|
}
|
|
792
815
|
|
|
793
816
|
interface CameraManagerOptions {
|
|
794
|
-
|
|
795
|
-
defaultZoom: number;
|
|
817
|
+
defaultView?: MapViewType;
|
|
796
818
|
}
|
|
797
819
|
declare class CameraManager {
|
|
798
820
|
#private;
|
|
799
821
|
map: Map;
|
|
800
|
-
constructor(map: Map,
|
|
801
|
-
set defaultBearing(value: number);
|
|
802
|
-
set defaultPitch(value: number);
|
|
803
|
-
set defaultCenter(value: [number, number]);
|
|
804
|
-
set defaultZoom(value: number);
|
|
805
|
-
get defaultCenter(): [number, number];
|
|
806
|
-
get defaultZoom(): number;
|
|
807
|
-
get defaultBearing(): number;
|
|
808
|
-
get defaultPitch(): number;
|
|
809
|
-
getBearing: () => number;
|
|
810
|
-
getPitch: () => number;
|
|
811
|
-
getZoom: () => number;
|
|
812
|
-
setBearing: (bearing: any) => Map;
|
|
822
|
+
constructor(map: Map, options?: CameraManagerOptions);
|
|
813
823
|
/** Public methods */
|
|
824
|
+
getView: () => MapViewType;
|
|
825
|
+
getZoom: () => number;
|
|
826
|
+
setView: (value: MapViewType) => void;
|
|
814
827
|
flyTo: (center: any, options?: MapAnimationOptionsType & MapViewType) => void;
|
|
815
828
|
flyToAndZoomIn: (centerPoint: any, options?: MapAnimationOptionsType & MapViewType) => void;
|
|
816
829
|
}
|
|
817
830
|
|
|
818
|
-
declare class IndoorMap {
|
|
831
|
+
declare class IndoorMap extends EventTarget {
|
|
819
832
|
#private;
|
|
820
833
|
map: Map | null;
|
|
821
|
-
|
|
834
|
+
camera: CameraManager;
|
|
822
835
|
rendererManager: RendererManager;
|
|
823
836
|
showVenueObject: boolean;
|
|
824
837
|
threeLayer: ThreeLayer | null;
|
|
@@ -834,14 +847,6 @@ declare class IndoorMap {
|
|
|
834
847
|
/**
|
|
835
848
|
* Getters & Setters
|
|
836
849
|
*/
|
|
837
|
-
set defaultBearing(value: number);
|
|
838
|
-
set defaultPitch(value: number);
|
|
839
|
-
set defaultCenter(value: [number, number]);
|
|
840
|
-
set defaultZoom(value: number);
|
|
841
|
-
get defaultBearing(): number;
|
|
842
|
-
get defaultPitch(): number;
|
|
843
|
-
get defaultCenter(): [number, number];
|
|
844
|
-
get defaultZoom(): number;
|
|
845
850
|
get elementsLoaded(): boolean;
|
|
846
851
|
get pixelRatio(): number;
|
|
847
852
|
get locale(): string;
|
|
@@ -1155,4 +1160,4 @@ declare const VENUE_EVENTS: {
|
|
|
1155
1160
|
VENUE_MOVEINTOVIEW: string;
|
|
1156
1161
|
};
|
|
1157
1162
|
|
|
1158
|
-
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 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 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 };
|
|
1163
|
+
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 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ 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 from 'maptalks';
|
|
6
|
-
import { Coordinate, Map,
|
|
7
|
-
import {
|
|
6
|
+
import { Coordinate, Map, MapViewType, MapAnimationOptionsType, HandlerFn, EventParams, MapPaddingType, Extent, Marker, ui, LineString as LineString$1, Polygon as Polygon$1, MultiPolygon as MultiPolygon$1, MultiLineString } from 'maptalks';
|
|
7
|
+
import { BaseObject, ThreeLayer } from 'maptalks.three';
|
|
8
8
|
import { ExtrudePolygonOptionType } from 'maptalks.three/dist/type';
|
|
9
9
|
import { SpriteMaterial, AmbientLight, DirectionalLight } from 'three';
|
|
10
10
|
|
|
@@ -471,6 +471,22 @@ type AnchorFeaturePopulated = AnchorFeature & {
|
|
|
471
471
|
section?: SectionFeaturePopulated;
|
|
472
472
|
};
|
|
473
473
|
};
|
|
474
|
+
type FixtureFeaturePopulated = FixtureFeature & {
|
|
475
|
+
properties: FixtureFeature["properties"] & {
|
|
476
|
+
/**
|
|
477
|
+
* [IMDF] The unit this anchor is on.
|
|
478
|
+
*/
|
|
479
|
+
anchor: AnchorFeaturePopulated;
|
|
480
|
+
/**
|
|
481
|
+
* [IMDF] Level that kiosk is on
|
|
482
|
+
*/
|
|
483
|
+
level: LevelFeaturePopulated;
|
|
484
|
+
/**
|
|
485
|
+
* [IMDF] Venue that kiosk is in
|
|
486
|
+
*/
|
|
487
|
+
venue?: VenueFeaturePopulated;
|
|
488
|
+
};
|
|
489
|
+
};
|
|
474
490
|
type KioskFeaturePopulated = KioskFeature & {
|
|
475
491
|
properties: KioskFeature["properties"] & {
|
|
476
492
|
/**
|
|
@@ -589,7 +605,7 @@ type FeaturePopulatedResponseMap = {
|
|
|
589
605
|
anchor: AnchorFeaturePopulated;
|
|
590
606
|
building: ImdfFeature;
|
|
591
607
|
detail: DetailFeature;
|
|
592
|
-
fixture:
|
|
608
|
+
fixture: FixtureFeaturePopulated;
|
|
593
609
|
footprint: ImdfFeature;
|
|
594
610
|
geofence: ImdfFeature;
|
|
595
611
|
kiosk: KioskFeaturePopulated;
|
|
@@ -675,8 +691,9 @@ type CreateExtrudePolygonOptionType = ExtrudePolygonOptionType & {
|
|
|
675
691
|
offset?: number;
|
|
676
692
|
};
|
|
677
693
|
type Element3DRendererOptions = {
|
|
678
|
-
|
|
694
|
+
fixture?: TypeRenderOptions<CreateExtrudePolygonOptionType>;
|
|
679
695
|
kiosk?: TypeRenderOptions<CreateExtrudePolygonOptionType>;
|
|
696
|
+
unit?: TypeRenderOptions<CreateExtrudePolygonOptionType>;
|
|
680
697
|
};
|
|
681
698
|
/** RendererManager */
|
|
682
699
|
type RendererManagerOptions = {
|
|
@@ -687,8 +704,9 @@ type RendererManagerOptions = {
|
|
|
687
704
|
elements: Element3DRendererOptions;
|
|
688
705
|
};
|
|
689
706
|
|
|
690
|
-
declare class RendererManager {
|
|
707
|
+
declare class RendererManager extends EventTarget {
|
|
691
708
|
#private;
|
|
709
|
+
map: maptalks.Map;
|
|
692
710
|
options: RendererManagerOptions;
|
|
693
711
|
/** Elements: Responsible for converting feature info elements and add to map */
|
|
694
712
|
private elementRenderer;
|
|
@@ -696,19 +714,24 @@ declare class RendererManager {
|
|
|
696
714
|
private elementsByOrdinal;
|
|
697
715
|
constructor(map: maptalks.Map, options: RendererManagerOptions);
|
|
698
716
|
set dataClient(value: any);
|
|
717
|
+
getElementsByOrdinal: (ordinal: number) => (BaseObject | maptalks.Geometry | maptalks.ui.UIMarker)[];
|
|
699
718
|
changeLevelByOrdinal(targetOrdinal: null | number | number[]): void;
|
|
700
719
|
createMarker(coordinate: Position, ordinal: number, label: string): void;
|
|
701
720
|
}
|
|
702
721
|
|
|
703
722
|
interface IndoorMapOptions {
|
|
704
|
-
center?: [number, number];
|
|
705
|
-
defaultZoom?: number;
|
|
706
|
-
pixelRatio?: number;
|
|
707
|
-
locale?: string;
|
|
708
723
|
onMapReady?: () => void;
|
|
709
724
|
onMapLoading?: () => void;
|
|
710
725
|
dataClient: VenueDataClient;
|
|
726
|
+
camera?: {
|
|
727
|
+
defaultCenter?: [number, number];
|
|
728
|
+
defaultZoom?: number;
|
|
729
|
+
defaultBearing?: number;
|
|
730
|
+
defaultPitch?: number;
|
|
731
|
+
};
|
|
711
732
|
renderer?: RendererManagerOptions;
|
|
733
|
+
pixelRatio?: number;
|
|
734
|
+
locale?: string;
|
|
712
735
|
}
|
|
713
736
|
type AmenityHighlightMode = "2DMarker";
|
|
714
737
|
type SymbolSet = string | null;
|
|
@@ -791,34 +814,24 @@ interface IMapConfig {
|
|
|
791
814
|
}
|
|
792
815
|
|
|
793
816
|
interface CameraManagerOptions {
|
|
794
|
-
|
|
795
|
-
defaultZoom: number;
|
|
817
|
+
defaultView?: MapViewType;
|
|
796
818
|
}
|
|
797
819
|
declare class CameraManager {
|
|
798
820
|
#private;
|
|
799
821
|
map: Map;
|
|
800
|
-
constructor(map: Map,
|
|
801
|
-
set defaultBearing(value: number);
|
|
802
|
-
set defaultPitch(value: number);
|
|
803
|
-
set defaultCenter(value: [number, number]);
|
|
804
|
-
set defaultZoom(value: number);
|
|
805
|
-
get defaultCenter(): [number, number];
|
|
806
|
-
get defaultZoom(): number;
|
|
807
|
-
get defaultBearing(): number;
|
|
808
|
-
get defaultPitch(): number;
|
|
809
|
-
getBearing: () => number;
|
|
810
|
-
getPitch: () => number;
|
|
811
|
-
getZoom: () => number;
|
|
812
|
-
setBearing: (bearing: any) => Map;
|
|
822
|
+
constructor(map: Map, options?: CameraManagerOptions);
|
|
813
823
|
/** Public methods */
|
|
824
|
+
getView: () => MapViewType;
|
|
825
|
+
getZoom: () => number;
|
|
826
|
+
setView: (value: MapViewType) => void;
|
|
814
827
|
flyTo: (center: any, options?: MapAnimationOptionsType & MapViewType) => void;
|
|
815
828
|
flyToAndZoomIn: (centerPoint: any, options?: MapAnimationOptionsType & MapViewType) => void;
|
|
816
829
|
}
|
|
817
830
|
|
|
818
|
-
declare class IndoorMap {
|
|
831
|
+
declare class IndoorMap extends EventTarget {
|
|
819
832
|
#private;
|
|
820
833
|
map: Map | null;
|
|
821
|
-
|
|
834
|
+
camera: CameraManager;
|
|
822
835
|
rendererManager: RendererManager;
|
|
823
836
|
showVenueObject: boolean;
|
|
824
837
|
threeLayer: ThreeLayer | null;
|
|
@@ -834,14 +847,6 @@ declare class IndoorMap {
|
|
|
834
847
|
/**
|
|
835
848
|
* Getters & Setters
|
|
836
849
|
*/
|
|
837
|
-
set defaultBearing(value: number);
|
|
838
|
-
set defaultPitch(value: number);
|
|
839
|
-
set defaultCenter(value: [number, number]);
|
|
840
|
-
set defaultZoom(value: number);
|
|
841
|
-
get defaultBearing(): number;
|
|
842
|
-
get defaultPitch(): number;
|
|
843
|
-
get defaultCenter(): [number, number];
|
|
844
|
-
get defaultZoom(): number;
|
|
845
850
|
get elementsLoaded(): boolean;
|
|
846
851
|
get pixelRatio(): number;
|
|
847
852
|
get locale(): string;
|
|
@@ -1155,4 +1160,4 @@ declare const VENUE_EVENTS: {
|
|
|
1155
1160
|
VENUE_MOVEINTOVIEW: string;
|
|
1156
1161
|
};
|
|
1157
1162
|
|
|
1158
|
-
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 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 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 };
|
|
1163
|
+
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 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 };
|