@mappedin/mappedin-js 6.26.0 → 6.28.0
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/THIRD_PARTY_LICENSES.txt +34 -23
- package/lib/esm/{GLTFExporter-2K7DG5JL.js → GLTFExporter-ZWJVUQYW.js} +1 -1
- package/lib/esm/{GLTFLoader-KAQCOFOB.js → GLTFLoader-KY54TKJC.js} +1 -1
- package/lib/esm/{chunk-GP5WKEWH.js → chunk-5LA75EWW.js} +1 -1
- package/lib/esm/chunk-77KKQDRA.js +661 -0
- package/lib/esm/chunk-AOSLWGHW.js +1230 -0
- package/lib/esm/{chunk-3P7B76SS.js → chunk-DHC2W2GX.js} +1 -1
- package/lib/esm/{chunk-WHNMZZSC.js → chunk-NSFD6GIA.js} +57 -57
- package/lib/esm/index.d.ts +222 -26
- package/lib/esm/index.js +1 -1
- package/lib/esm/{inspector-GUU4LZSY.js → inspector-KVMOBKLB.js} +2 -2
- package/lib/esm/{internal-B77FNKFN.js → internal-7KD7ZWIW.js} +1 -1
- package/lib/esm/{src-KCRI64F4.js → src-VQYXJYHC.js} +1 -1
- package/lib/esm/{text3d-VRT45WDN.js → text3d-NBDSOPS5.js} +1 -1
- package/package.json +1 -1
- package/lib/esm/chunk-6PIWF5Q5.js +0 -661
- package/lib/esm/chunk-O2I4AFRG.js +0 -1230
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _mappedin_mvf_v20 from "@mappedin/mvf-v2";
|
|
2
2
|
import { AnnotationCollection, AnnotationSymbol, AreaCollection, AreaId, BaseTextAreaProperties, Category, CategoryId, Connection as Connection$1, Details, EnterpriseCategory as EnterpriseCategory$1, EnterpriseCategoryId, EnterpriseLocation as EnterpriseLocation$1, EnterpriseLocationId, EnterpriseLocationInstance, EnterpriseTexture, EnterpriseVenue as EnterpriseVenue$1, EnterpriseVenueType, EntranceCollection, EntranceFeature, Facade as Facade$1, Feature as Feature$1, FeatureCollection as FeatureCollection$1, FloatingFloorTextProperties, FloorCollection, FloorId, FloorProperties, FloorStack as FloorStack$1, FloorTextCommonProperties, Geometry as Geometry$1, Hyperlink as Hyperlink$1, Image, Language, LineStringStyle, LineStringStyle as TMVFLineStringStyle, Location, LocationId, LocationLink, LocationSocial, LocationSocial as LocationSocial$1, LocationState, LocationState as LocationState$1, MVFv2_STANDARD_MVFv3, MultiPolygon as MultiPolygon$1, NavigationFlagDeclarations, NodeCollection, NodeId, ObstructionCollection, ObstructionCollection as ObstructionCollection$1, ObstructionFeature, ObstructionId, OpeningHoursSpecification, OperationHours, OperationHours as OperationHours$1, ParsedMVF, ParsedMVF as TMVF, ParsedMVFLocalePack, Point as Point$1, PointStyle, PointStyle as TMVFPointStyle, Polygon as Polygon$1, PolygonStyle, PolygonStyle as TMVFPolygonStyle, SiblingGroup, SiblingGroup as SiblingGroup$1, SpaceCollection, SpaceCollection as SpaceCollection$1, SpaceFeature, SpaceId, SpaceProperties, Style as TMVFStyle, StyleCollection, StyleCollection as TMVFStyleCollection, TilesetStyle } from "@mappedin/mvf-v2";
|
|
3
3
|
import { MVFv2_STANDARD_MVFv3 as MVFv2_STANDARD_MVFv3$1, ParsedMVF as ParsedMVF$1, RawMVF } from "@mappedin/mvf-v2/no-validator-lite";
|
|
4
4
|
import * as three0 from "three";
|
|
@@ -8,7 +8,7 @@ import { AddLabelOptionsInternal, AddText3DOptions, AddText3DOptions as AddText3
|
|
|
8
8
|
import * as _tweenjs_tween_js0 from "@tweenjs/tween.js";
|
|
9
9
|
import { Group as Group$1, Tween } from "@tweenjs/tween.js";
|
|
10
10
|
import { CustomLayerInterface, IControl, Map as Map$1, MapEventType } from "@mappedin/outdoor-context";
|
|
11
|
-
import { ANIMATION_TWEENS, PathWidth as PathWidth$2, PathWidth as PathWidth$3, enableTestMode } from "@mappedin/renderer-shared";
|
|
11
|
+
import { ANIMATION_TWEENS, PathWidth as PathWidth$2, PathWidth as PathWidth$3, SlopeState, enableTestMode } from "@mappedin/renderer-shared";
|
|
12
12
|
import { MatchInfo, SearchResult as SearchResult$1, Suggestion, Suggestion as Suggestion$1 } from "minisearch";
|
|
13
13
|
import { BatchedText, BatchedText as BatchedText$1, Text, Text as Text$1 } from "troika-three-text";
|
|
14
14
|
import "../../renderer-three/src/styles/interactions.scss";
|
|
@@ -484,6 +484,11 @@ type THydrateMapDataBundle = {
|
|
|
484
484
|
localePack: Uint8Array;
|
|
485
485
|
}[];
|
|
486
486
|
main: Uint8Array;
|
|
487
|
+
/**
|
|
488
|
+
* The `updated_at` timestamp reported by the API when this bundle was fetched,
|
|
489
|
+
* used to restore `MapData.updatedAt` on hydrate.
|
|
490
|
+
*/
|
|
491
|
+
updatedAt?: string;
|
|
487
492
|
} | {
|
|
488
493
|
type: 'json';
|
|
489
494
|
options?: {
|
|
@@ -503,6 +508,11 @@ type THydrateMapDataBundle = {
|
|
|
503
508
|
localePack: ParsedMVFLocalePack;
|
|
504
509
|
}[];
|
|
505
510
|
main: ParsedMVF;
|
|
511
|
+
/**
|
|
512
|
+
* The `updated_at` timestamp reported by the API when this bundle was fetched,
|
|
513
|
+
* used to restore `MapData.updatedAt` on hydrate.
|
|
514
|
+
*/
|
|
515
|
+
updatedAt?: string;
|
|
506
516
|
};
|
|
507
517
|
/**
|
|
508
518
|
* Load a MapData instance from a backup bundle (zip file or parsed MVF).
|
|
@@ -9269,6 +9279,7 @@ declare const floorStateSchemaPartial: ZodObject<{
|
|
|
9269
9279
|
type: ZodOptional<ZodDefault<ZodLiteral<"floor.geometry">>>;
|
|
9270
9280
|
opacity: ZodOptional<ZodDefault<ZodNumber>>;
|
|
9271
9281
|
visible: ZodOptional<ZodDefault<ZodBoolean>>;
|
|
9282
|
+
heightScale: ZodOptional<ZodDefault<ZodNumber>>;
|
|
9272
9283
|
maskId: ZodOptional<ZodDefault<ZodNullable<ZodNumber>>>;
|
|
9273
9284
|
maskEffect: ZodOptional<ZodDefault<ZodEnum<{
|
|
9274
9285
|
hide: "hide";
|
|
@@ -9353,6 +9364,7 @@ declare const floorStateSchemaStrict: ZodObject<{
|
|
|
9353
9364
|
type: ZodDefault<ZodLiteral<"floor.geometry">>;
|
|
9354
9365
|
opacity: ZodDefault<ZodNumber>;
|
|
9355
9366
|
visible: ZodDefault<ZodBoolean>;
|
|
9367
|
+
heightScale: ZodDefault<ZodNumber>;
|
|
9356
9368
|
maskId: ZodDefault<ZodNullable<ZodNumber>>;
|
|
9357
9369
|
maskEffect: ZodDefault<ZodEnum<{
|
|
9358
9370
|
hide: "hide";
|
|
@@ -9451,6 +9463,9 @@ declare const geometryStateSchemaPartial: ZodObject<{
|
|
|
9451
9463
|
interactive: ZodOptional<ZodDefault<ZodUnion<readonly [ZodBoolean, ZodLiteral<"pass-through">]>>>;
|
|
9452
9464
|
opacity: ZodOptional<ZodDefault<ZodNumber>>;
|
|
9453
9465
|
height: ZodOptional<ZodDefault<ZodNumber>>;
|
|
9466
|
+
slopeBearing: ZodOptional<ZodDefault<ZodNumber>>;
|
|
9467
|
+
slopeFactor: ZodOptional<ZodDefault<ZodNumber>>;
|
|
9468
|
+
slopeEnabled: ZodOptional<ZodDefault<ZodBoolean>>;
|
|
9454
9469
|
altitude: ZodOptional<ZodDefault<ZodNumber>>;
|
|
9455
9470
|
texture: ZodOptional<ZodOptional<ZodObject<{
|
|
9456
9471
|
url: ZodString;
|
|
@@ -9474,6 +9489,9 @@ declare const geometryStateSchemaStrict: ZodObject<{
|
|
|
9474
9489
|
interactive: ZodDefault<ZodUnion<readonly [ZodBoolean, ZodLiteral<"pass-through">]>>;
|
|
9475
9490
|
opacity: ZodDefault<ZodNumber>;
|
|
9476
9491
|
height: ZodDefault<ZodNumber>;
|
|
9492
|
+
slopeBearing: ZodDefault<ZodNumber>;
|
|
9493
|
+
slopeFactor: ZodDefault<ZodNumber>;
|
|
9494
|
+
slopeEnabled: ZodDefault<ZodBoolean>;
|
|
9477
9495
|
altitude: ZodDefault<ZodNumber>;
|
|
9478
9496
|
texture: ZodOptional<ZodObject<{
|
|
9479
9497
|
url: ZodString;
|
|
@@ -9502,7 +9520,7 @@ type TGeometryUpdateState = output<typeof geometryStateSchemaPartial>;
|
|
|
9502
9520
|
declare const labelStateSchema: ZodObject<{
|
|
9503
9521
|
type: ZodDefault<ZodLiteral<"label">>;
|
|
9504
9522
|
text: ZodString;
|
|
9505
|
-
rank: ZodCustom<
|
|
9523
|
+
rank: ZodCustom<"initial" | TCollisionRankingTier, "initial" | TCollisionRankingTier>;
|
|
9506
9524
|
appearance: ZodCustom<LabelAppearance, LabelAppearance>;
|
|
9507
9525
|
interactive: ZodDefault<ZodBoolean>;
|
|
9508
9526
|
enabled: ZodDefault<ZodBoolean>;
|
|
@@ -9525,7 +9543,7 @@ declare const labelStateSchema: ZodObject<{
|
|
|
9525
9543
|
declare const labelStateSchemaPartial: ZodObject<{
|
|
9526
9544
|
type: ZodOptional<ZodDefault<ZodLiteral<"label">>>;
|
|
9527
9545
|
text: ZodOptional<ZodString>;
|
|
9528
|
-
rank: ZodOptional<ZodCustom<
|
|
9546
|
+
rank: ZodOptional<ZodCustom<"initial" | TCollisionRankingTier, "initial" | TCollisionRankingTier>>;
|
|
9529
9547
|
appearance: ZodOptional<ZodCustom<LabelAppearance, LabelAppearance>>;
|
|
9530
9548
|
interactive: ZodOptional<ZodDefault<ZodBoolean>>;
|
|
9531
9549
|
enabled: ZodOptional<ZodDefault<ZodBoolean>>;
|
|
@@ -9558,7 +9576,7 @@ type TLabelUpdateState = output<typeof labelStateSchemaPartial>;
|
|
|
9558
9576
|
/** @internal */
|
|
9559
9577
|
declare const markerStateSchema: ZodObject<{
|
|
9560
9578
|
type: ZodDefault<ZodLiteral<"marker">>;
|
|
9561
|
-
rank: ZodCustom<
|
|
9579
|
+
rank: ZodCustom<"initial" | TCollisionRankingTier, "initial" | TCollisionRankingTier>;
|
|
9562
9580
|
placement: ZodOptional<ZodUnion<readonly [ZodEnum<{
|
|
9563
9581
|
hidden: "hidden";
|
|
9564
9582
|
top: "top";
|
|
@@ -9601,7 +9619,7 @@ declare const markerStateSchemaPartial: ZodObject<{
|
|
|
9601
9619
|
type: ZodOptional<ZodDefault<ZodLiteral<"marker">>>;
|
|
9602
9620
|
enabled: ZodOptional<ZodDefault<ZodBoolean>>;
|
|
9603
9621
|
interactive: ZodOptional<ZodDefault<ZodUnion<readonly [ZodBoolean, ZodLiteral<"pointer-events-auto">]>>>;
|
|
9604
|
-
rank: ZodOptional<ZodCustom<
|
|
9622
|
+
rank: ZodOptional<ZodCustom<"initial" | TCollisionRankingTier, "initial" | TCollisionRankingTier>>;
|
|
9605
9623
|
occlude: ZodOptional<ZodDefault<ZodBoolean>>;
|
|
9606
9624
|
placement: ZodOptional<ZodOptional<ZodUnion<readonly [ZodEnum<{
|
|
9607
9625
|
hidden: "hidden";
|
|
@@ -11013,6 +11031,16 @@ type TClickPayload = {
|
|
|
11013
11031
|
* @see {@link TClickPayload}
|
|
11014
11032
|
*/
|
|
11015
11033
|
type THoverPayload = Omit<TClickPayload, 'pointerEvent'>;
|
|
11034
|
+
/**
|
|
11035
|
+
* The payload for a long-press (tap and hold) event on the map.
|
|
11036
|
+
*
|
|
11037
|
+
* Identical in shape to {@link TClickPayload} — it contains the geographic
|
|
11038
|
+
* coordinate of the press and all visible interactive map elements that were
|
|
11039
|
+
* under the pointer at the time of the event.
|
|
11040
|
+
*
|
|
11041
|
+
* @see {@link TClickPayload}
|
|
11042
|
+
*/
|
|
11043
|
+
type TLongPressPayload = TClickPayload;
|
|
11016
11044
|
/**
|
|
11017
11045
|
* used to sync state to RN SDK
|
|
11018
11046
|
* @internal
|
|
@@ -11075,6 +11103,10 @@ type TEvents = {
|
|
|
11075
11103
|
* Emitted when the map is clicked or tapped on a touch screen.
|
|
11076
11104
|
*/
|
|
11077
11105
|
click: TClickPayload;
|
|
11106
|
+
/**
|
|
11107
|
+
* Emitted when the map is long-pressed (tap and hold).
|
|
11108
|
+
*/
|
|
11109
|
+
'long-press': TLongPressPayload;
|
|
11078
11110
|
/**
|
|
11079
11111
|
* Emitted when the map is hovered over with a mouse.
|
|
11080
11112
|
*/
|
|
@@ -11853,6 +11885,12 @@ type TGetDirectionsOptions = {
|
|
|
11853
11885
|
* - `'rdp'`: Uses Ramer-Douglas-Peucker preprocessing + line-of-sight validation + door buffer nodes. Better for paths with doors and complex geometry. Medium speed.
|
|
11854
11886
|
* - `'dp-optimal'`: Dynamic Programming for globally optimal simplification. Slowest but highest quality, O(n²) complexity. Best when path quality is critical.
|
|
11855
11887
|
*
|
|
11888
|
+
* **Limitations:**
|
|
11889
|
+
* Smoothing never removes a node flagged `preventSmoothing` — such nodes are always preserved as
|
|
11890
|
+
* waypoints (e.g. doors and floor-transition nodes). On platform/Maker maps, outdoor nodes are flagged
|
|
11891
|
+
* `preventSmoothing`, so outdoor route segments are not simplified and `smoothing` has no visible effect
|
|
11892
|
+
* on them.
|
|
11893
|
+
*
|
|
11856
11894
|
* @default true for non-enterprise mode, false for enterprise mode
|
|
11857
11895
|
*
|
|
11858
11896
|
* @example
|
|
@@ -12453,6 +12491,15 @@ type TMultiFloorViewOptions = {
|
|
|
12453
12491
|
* @default true
|
|
12454
12492
|
*/
|
|
12455
12493
|
enabled?: boolean;
|
|
12494
|
+
/**
|
|
12495
|
+
* When true, render every floor the path traverses regardless of whether it sits above or
|
|
12496
|
+
* below the current floor. By default only floors below the current floor are shown, which
|
|
12497
|
+
* clips the horizontal path and its connection tubes on a descending route (departure above
|
|
12498
|
+
* destination).
|
|
12499
|
+
* @default false
|
|
12500
|
+
* @experimental
|
|
12501
|
+
*/
|
|
12502
|
+
showAllFloorsIncludedInNavigation?: boolean;
|
|
12456
12503
|
/**
|
|
12457
12504
|
* The vertical spacing between floors in meters (before `floorGapMultiplier`).
|
|
12458
12505
|
*
|
|
@@ -13307,8 +13354,8 @@ declare class Area extends DetailedMapData<AreaCollection['features'][number]> i
|
|
|
13307
13354
|
*/
|
|
13308
13355
|
get geoJSON(): {
|
|
13309
13356
|
properties: null;
|
|
13310
|
-
type:
|
|
13311
|
-
geometry:
|
|
13357
|
+
type: _mappedin_mvf_v20.FeatureType;
|
|
13358
|
+
geometry: _mappedin_mvf_v20.Polygon;
|
|
13312
13359
|
};
|
|
13313
13360
|
/** @internal */
|
|
13314
13361
|
get focusTarget(): this;
|
|
@@ -13410,8 +13457,8 @@ declare class Door extends DetailedMapData<EntranceFeature> implements IGeoJSOND
|
|
|
13410
13457
|
*/
|
|
13411
13458
|
get geoJSON(): {
|
|
13412
13459
|
properties: null;
|
|
13413
|
-
type:
|
|
13414
|
-
geometry:
|
|
13460
|
+
type: _mappedin_mvf_v20.FeatureType;
|
|
13461
|
+
geometry: _mappedin_mvf_v20.LineString;
|
|
13415
13462
|
};
|
|
13416
13463
|
/** @internal */
|
|
13417
13464
|
get focusTarget(): Coordinate;
|
|
@@ -13547,8 +13594,8 @@ declare class Space extends DetailedMapData<SpaceFeature> implements IGeoJSONDat
|
|
|
13547
13594
|
*/
|
|
13548
13595
|
get geoJSON(): {
|
|
13549
13596
|
properties: null;
|
|
13550
|
-
type:
|
|
13551
|
-
geometry:
|
|
13597
|
+
type: _mappedin_mvf_v20.FeatureType;
|
|
13598
|
+
geometry: _mappedin_mvf_v20.Point | _mappedin_mvf_v20.LineString | _mappedin_mvf_v20.Polygon;
|
|
13552
13599
|
};
|
|
13553
13600
|
/** @internal */
|
|
13554
13601
|
get focusTarget(): this | Coordinate;
|
|
@@ -13634,7 +13681,7 @@ declare class PointOfInterest extends DetailedMapData<FeatureCollection$1<Point$
|
|
|
13634
13681
|
*/
|
|
13635
13682
|
get geoJSON(): {
|
|
13636
13683
|
properties: null;
|
|
13637
|
-
type:
|
|
13684
|
+
type: _mappedin_mvf_v20.FeatureType;
|
|
13638
13685
|
geometry: Point$1;
|
|
13639
13686
|
};
|
|
13640
13687
|
/**
|
|
@@ -13748,8 +13795,8 @@ declare class Annotation extends DetailedMapData<AnnotationCollection['features'
|
|
|
13748
13795
|
*/
|
|
13749
13796
|
get geoJSON(): {
|
|
13750
13797
|
properties: null;
|
|
13751
|
-
type:
|
|
13752
|
-
geometry:
|
|
13798
|
+
type: _mappedin_mvf_v20.FeatureType;
|
|
13799
|
+
geometry: _mappedin_mvf_v20.Point;
|
|
13753
13800
|
};
|
|
13754
13801
|
/** @internal */
|
|
13755
13802
|
get focusTarget(): Coordinate;
|
|
@@ -13965,8 +14012,8 @@ declare class MapObject extends DetailedMapData<ObstructionFeature> implements I
|
|
|
13965
14012
|
*/
|
|
13966
14013
|
get geoJSON(): {
|
|
13967
14014
|
properties: null;
|
|
13968
|
-
type:
|
|
13969
|
-
geometry:
|
|
14015
|
+
type: _mappedin_mvf_v20.FeatureType;
|
|
14016
|
+
geometry: _mappedin_mvf_v20.LineString | _mappedin_mvf_v20.Polygon;
|
|
13970
14017
|
};
|
|
13971
14018
|
/** @internal */
|
|
13972
14019
|
get anchorTarget(): Coordinate;
|
|
@@ -14034,6 +14081,7 @@ type TMapDataInternalOptions = {
|
|
|
14034
14081
|
tokenManager?: TokenManager;
|
|
14035
14082
|
getMapDataOptions?: TGetMapDataOptions;
|
|
14036
14083
|
mvf3?: MVFv2_STANDARD_MVFv3;
|
|
14084
|
+
updatedAt?: string;
|
|
14037
14085
|
};
|
|
14038
14086
|
type MVFNodeFeature = NodeCollection['features'][number];
|
|
14039
14087
|
type MVFFloorFeature = FloorCollection['features'][number];
|
|
@@ -14279,8 +14327,8 @@ declare class Node extends BaseMetaData implements IGeoJSONData, IFocusable, IAn
|
|
|
14279
14327
|
*/
|
|
14280
14328
|
get geoJSON(): {
|
|
14281
14329
|
properties: null;
|
|
14282
|
-
type:
|
|
14283
|
-
geometry:
|
|
14330
|
+
type: _mappedin_mvf_v20.FeatureType;
|
|
14331
|
+
geometry: _mappedin_mvf_v20.Point;
|
|
14284
14332
|
};
|
|
14285
14333
|
/** @internal */
|
|
14286
14334
|
get focusTarget(): Coordinate;
|
|
@@ -14462,7 +14510,7 @@ declare class Facade extends BaseMapData implements IFocusable, IAnchorable, INa
|
|
|
14462
14510
|
};
|
|
14463
14511
|
}
|
|
14464
14512
|
//#endregion
|
|
14465
|
-
//#region src/
|
|
14513
|
+
//#region src/records/types.d.ts
|
|
14466
14514
|
type MapDataRecords = {
|
|
14467
14515
|
spacesById: Record<string, Space>;
|
|
14468
14516
|
nodesById: Record<string, Node>;
|
|
@@ -15325,6 +15373,10 @@ declare class MapDataInternal extends PubSub<{
|
|
|
15325
15373
|
binaryBundle?: Uint8Array;
|
|
15326
15374
|
envControl: EnvControl;
|
|
15327
15375
|
getMapDataOptions?: TGetMapDataOptions;
|
|
15376
|
+
/**
|
|
15377
|
+
* The `updated_at` timestamp reported by the API when this map data was loaded.
|
|
15378
|
+
*/
|
|
15379
|
+
updatedAt?: string;
|
|
15328
15380
|
/**
|
|
15329
15381
|
* @internal
|
|
15330
15382
|
*/
|
|
@@ -15876,6 +15928,44 @@ declare class MapData {
|
|
|
15876
15928
|
* ```
|
|
15877
15929
|
*/
|
|
15878
15930
|
getAccessToken(): string | undefined;
|
|
15931
|
+
/**
|
|
15932
|
+
* The `updated_at` timestamp reported by the API when this map data was loaded.
|
|
15933
|
+
*
|
|
15934
|
+
* @returns {string | undefined} The timestamp, or `undefined` if unavailable. Keyless `bundleUri` loads yield an empty string (`''`).
|
|
15935
|
+
*/
|
|
15936
|
+
get updatedAt(): string | undefined;
|
|
15937
|
+
/**
|
|
15938
|
+
* Check whether the map data has changed since it was loaded.
|
|
15939
|
+
*
|
|
15940
|
+
* Performs a lightweight resolve against the Mappedin API (without re-downloading
|
|
15941
|
+
* the bundle) and compares the live `updated_at` timestamp to the one captured
|
|
15942
|
+
* when this `MapData` was loaded.
|
|
15943
|
+
*
|
|
15944
|
+
* The check re-authenticates using the same credentials that originally created this
|
|
15945
|
+
* `MapData`: enterprise maps resolve via their key/secret (Basic auth), and Maker maps
|
|
15946
|
+
* refresh their access token from the original key/secret via the internal token manager.
|
|
15947
|
+
* For access-token-only loads (no key/secret), the token cannot be refreshed once it
|
|
15948
|
+
* expires and the check will fail.
|
|
15949
|
+
*
|
|
15950
|
+
* Note: this requires the map to have been loaded via {@link getMapData}, which records a
|
|
15951
|
+
* load-time `updated_at` timestamp. Maps hydrated from a local bundle via `hydrateMapData()`
|
|
15952
|
+
* do not have this timestamp and will throw.
|
|
15953
|
+
*
|
|
15954
|
+
* @returns {Promise<{ hasChanges: boolean; updatedAt: string }>} An object describing whether the data changed and the current timestamp.
|
|
15955
|
+
*
|
|
15956
|
+
* @example Check for updates and reload if changed
|
|
15957
|
+
* ```ts
|
|
15958
|
+
* const { hasChanges } = await mapData.checkForUpdates();
|
|
15959
|
+
* if (hasChanges) {
|
|
15960
|
+
* const freshMapData = await getMapData({ key, secret, mapId });
|
|
15961
|
+
* // re-render with freshMapData
|
|
15962
|
+
* }
|
|
15963
|
+
* ```
|
|
15964
|
+
*/
|
|
15965
|
+
checkForUpdates(): Promise<{
|
|
15966
|
+
hasChanges: boolean;
|
|
15967
|
+
updatedAt: string;
|
|
15968
|
+
}>;
|
|
15879
15969
|
/**
|
|
15880
15970
|
* The name of the map.
|
|
15881
15971
|
*
|
|
@@ -16336,7 +16426,7 @@ declare class MapData {
|
|
|
16336
16426
|
* console.log(`Current language: ${language.name} (${language.code})`);
|
|
16337
16427
|
* ```
|
|
16338
16428
|
*/
|
|
16339
|
-
get currentLanguage():
|
|
16429
|
+
get currentLanguage(): _mappedin_mvf_v20.Language | undefined;
|
|
16340
16430
|
/**
|
|
16341
16431
|
* Gets the natural bearing of the map.
|
|
16342
16432
|
*
|
|
@@ -16585,6 +16675,7 @@ type Style$1 = {
|
|
|
16585
16675
|
opacity: number;
|
|
16586
16676
|
visible: boolean;
|
|
16587
16677
|
height: number;
|
|
16678
|
+
heightScale: number;
|
|
16588
16679
|
altitude: number;
|
|
16589
16680
|
join: LineStyle$2['join'];
|
|
16590
16681
|
cap: LineStyle$2['cap'];
|
|
@@ -16598,6 +16689,8 @@ type Style$1 = {
|
|
|
16598
16689
|
renderOrder?: number;
|
|
16599
16690
|
shading?: Shading$1;
|
|
16600
16691
|
bevel?: BevelState;
|
|
16692
|
+
slope?: SlopeState;
|
|
16693
|
+
slopeEnabled: boolean;
|
|
16601
16694
|
borderVisible: boolean;
|
|
16602
16695
|
borderColor?: string;
|
|
16603
16696
|
borderWidth?: number;
|
|
@@ -16627,6 +16720,13 @@ declare class StyleComponent implements Style$1 {
|
|
|
16627
16720
|
opacity: number;
|
|
16628
16721
|
width: number;
|
|
16629
16722
|
height: number;
|
|
16723
|
+
/**
|
|
16724
|
+
* Relative multiplier (0..1) applied on top of `height` when the mesh system
|
|
16725
|
+
* computes the instance extrusion scale (`height * heightScale / initialHeight`).
|
|
16726
|
+
* `1` is the identity; a smaller value flattens the geometry without mutating
|
|
16727
|
+
* `height` or re-baking `initialHeight`.
|
|
16728
|
+
*/
|
|
16729
|
+
heightScale: number;
|
|
16630
16730
|
/**
|
|
16631
16731
|
* The height the geometry's vertices were baked at; the divisor for instance
|
|
16632
16732
|
* height scaling (`height / initialHeight`). Provisional until the deferred bake:
|
|
@@ -16644,6 +16744,8 @@ declare class StyleComponent implements Style$1 {
|
|
|
16644
16744
|
renderOrder: number;
|
|
16645
16745
|
shading?: Shading$1;
|
|
16646
16746
|
bevel?: BevelState;
|
|
16747
|
+
slope?: SlopeState;
|
|
16748
|
+
slopeEnabled: boolean;
|
|
16647
16749
|
borderVisible: boolean;
|
|
16648
16750
|
borderColor: string;
|
|
16649
16751
|
borderWidth: number;
|
|
@@ -16999,6 +17101,14 @@ type FeatureCollectionState = {
|
|
|
16999
17101
|
* preserved for now.
|
|
17000
17102
|
*/
|
|
17001
17103
|
height?: number;
|
|
17104
|
+
/**
|
|
17105
|
+
* Relative multiplier (0..1) cascaded to each child's `StyleComponent.heightScale`.
|
|
17106
|
+
* The mesh system applies it on top of the child's `height`
|
|
17107
|
+
* (`height * heightScale`), so it composes with an absolute `height` override
|
|
17108
|
+
* without mutating `height` or re-baking `initialHeight`. `1` is the identity;
|
|
17109
|
+
* `0.5` squashes to half extrusion.
|
|
17110
|
+
*/
|
|
17111
|
+
heightScale?: number;
|
|
17002
17112
|
/**
|
|
17003
17113
|
* @deprecated Per-feature property; read-through to the first child is
|
|
17004
17114
|
* preserved for now.
|
|
@@ -17481,6 +17591,8 @@ type GeometryState = {
|
|
|
17481
17591
|
* Bevel configuration for extruded shapes.
|
|
17482
17592
|
*/
|
|
17483
17593
|
bevel?: BevelState;
|
|
17594
|
+
slope?: SlopeState;
|
|
17595
|
+
slopeEnabled?: boolean;
|
|
17484
17596
|
/**
|
|
17485
17597
|
* TODO: it's annoying that we have to store these here just so that they can be applied from mappedin-js. Let's think about a better way to do this.
|
|
17486
17598
|
*/
|
|
@@ -18293,8 +18405,26 @@ type Outline = {
|
|
|
18293
18405
|
geometry?: BufferGeometry;
|
|
18294
18406
|
currentOpacity: number;
|
|
18295
18407
|
currentColor: [number, number, number];
|
|
18408
|
+
/**
|
|
18409
|
+
* Local indices (0..`ranges.count`-1) of this outline's top-face vertices, alongside a compact
|
|
18410
|
+
* `baselineVertices` holding just those top-face vertices (in this same order). Populated for
|
|
18411
|
+
* sloped non-beveled outlines; undefined for non-sloped or beveled outlines.
|
|
18412
|
+
*/
|
|
18296
18413
|
topFaceVerticesIndices?: number[];
|
|
18414
|
+
/**
|
|
18415
|
+
* Pre-slope vertex coordinates of this outline's merged range, captured at build time (slope
|
|
18416
|
+
* taper baseline). Captured only for sloped outlines: for non-beveled outlines this holds only
|
|
18417
|
+
* the top-face vertices (matching `topFaceVerticesIndices`); for beveled outlines it holds the
|
|
18418
|
+
* full range. `undefined` for non-sloped outlines.
|
|
18419
|
+
*/
|
|
18420
|
+
baselineVertices?: Float32Array;
|
|
18421
|
+
/**
|
|
18422
|
+
* Set when a slope is enabled/disabled so the owning collection's merged outline is rebuilt
|
|
18423
|
+
* (capturing the baseline only when a slope is actually applied).
|
|
18424
|
+
*/
|
|
18425
|
+
needsRebuild: boolean;
|
|
18297
18426
|
visible: boolean;
|
|
18427
|
+
resetVisibility(): void;
|
|
18298
18428
|
};
|
|
18299
18429
|
declare class OutlineComponent implements Outline {
|
|
18300
18430
|
#private;
|
|
@@ -18310,7 +18440,24 @@ declare class OutlineComponent implements Outline {
|
|
|
18310
18440
|
start: number;
|
|
18311
18441
|
count: number;
|
|
18312
18442
|
};
|
|
18443
|
+
/**
|
|
18444
|
+
* Local indices (0..`ranges.count`-1) of this outline's top-face vertices, alongside a compact
|
|
18445
|
+
* `baselineVertices` holding just those top-face vertices (in this same order). Populated for
|
|
18446
|
+
* sloped non-beveled outlines; undefined for non-sloped or beveled outlines.
|
|
18447
|
+
*/
|
|
18313
18448
|
topFaceVerticesIndices?: number[];
|
|
18449
|
+
/**
|
|
18450
|
+
* Pre-slope vertex coordinates of this outline's merged range, captured at build time (slope
|
|
18451
|
+
* taper baseline). Captured only for sloped outlines: for non-beveled outlines this holds only
|
|
18452
|
+
* the top-face vertices (matching `topFaceVerticesIndices`); for beveled outlines it holds the
|
|
18453
|
+
* full range. `undefined` for non-sloped outlines.
|
|
18454
|
+
*/
|
|
18455
|
+
baselineVertices?: Float32Array;
|
|
18456
|
+
/**
|
|
18457
|
+
* Set when a slope is enabled/disabled so the owning collection's merged outline is rebuilt
|
|
18458
|
+
* (capturing the baseline only when a slope is actually applied).
|
|
18459
|
+
*/
|
|
18460
|
+
needsRebuild: boolean;
|
|
18314
18461
|
get currentOpacity(): number;
|
|
18315
18462
|
/**
|
|
18316
18463
|
* Sets the visibility of the outline.
|
|
@@ -18320,6 +18467,11 @@ declare class OutlineComponent implements Outline {
|
|
|
18320
18467
|
* Gets the visibility of the outline.
|
|
18321
18468
|
*/
|
|
18322
18469
|
get visible(): boolean;
|
|
18470
|
+
/**
|
|
18471
|
+
* Clears the cached visibility so the next `visible` write re-applies the buffer.
|
|
18472
|
+
* Called when the merged outline geometry is rebuilt (fresh `edgeVisibility` buffer).
|
|
18473
|
+
*/
|
|
18474
|
+
resetVisibility(): void;
|
|
18323
18475
|
get currentColor(): [number, number, number];
|
|
18324
18476
|
constructor(color: string);
|
|
18325
18477
|
}
|
|
@@ -18433,6 +18585,27 @@ declare class ClippingPlaneComponent implements ClippingPlane {
|
|
|
18433
18585
|
};
|
|
18434
18586
|
}
|
|
18435
18587
|
//#endregion
|
|
18588
|
+
//#region ../renderer-three/src/systems/mesh-modification/slope.d.ts
|
|
18589
|
+
type SlopeTransform = {
|
|
18590
|
+
shearX: number;
|
|
18591
|
+
shearY: number;
|
|
18592
|
+
zOffset: number;
|
|
18593
|
+
};
|
|
18594
|
+
//#endregion
|
|
18595
|
+
//#region ../renderer-three/src/components/slope.d.ts
|
|
18596
|
+
/**
|
|
18597
|
+
* Opt-in slope state for a geometry. Only instantiated when the geometry's
|
|
18598
|
+
* `slopeEnabled` state is true, so the per-vertex baseline-vertex buffer and the
|
|
18599
|
+
* derived taper are never allocated for entities that don't slope.
|
|
18600
|
+
*/
|
|
18601
|
+
declare class SlopeComponent {
|
|
18602
|
+
readonly type: "slope";
|
|
18603
|
+
/** Pre-slope vertex coordinates of the geometry's position attribute (the baseline used to apply/clear slope idempotently). */
|
|
18604
|
+
baselineVertices?: Float32Array;
|
|
18605
|
+
/** The currently applied slope taper (SlopeTransform). */
|
|
18606
|
+
currentSlope?: SlopeTransform;
|
|
18607
|
+
}
|
|
18608
|
+
//#endregion
|
|
18436
18609
|
//#region ../renderer-three/src/entities/geometry3d.d.ts
|
|
18437
18610
|
type Geometry3DObjectTypes = 'geometry' | 'path' | 'model' | 'custom-geometry' | 'image' | 'text3d';
|
|
18438
18611
|
declare class Geometry3DObject3D extends Object3D {
|
|
@@ -18482,10 +18655,11 @@ type ComponentTypeMap$1 = {
|
|
|
18482
18655
|
texture: TextureComponent;
|
|
18483
18656
|
border: BorderComponent;
|
|
18484
18657
|
clippingPlane: ClippingPlaneComponent;
|
|
18658
|
+
slope: SlopeComponent;
|
|
18485
18659
|
};
|
|
18486
|
-
declare class Geometry3D<M$1 extends MeshComponentTypes = MeshComponent, S extends StyleComponent | Text3DStyleComponent | ModelStyleComponnet = StyleComponent, I extends InteractionComponent = InteractionComponent, T$1 extends MappedComponentType<M$1> = MappedComponentType<M$1>, O extends OutlineComponent | undefined = OutlineComponent | undefined, F$1 extends FocusableComponent | undefined = FocusableComponent | undefined, TX extends TextureComponent | undefined = TextureComponent | undefined, B extends BorderComponent | undefined = BorderComponent | undefined, C extends ClippingPlaneComponent | undefined = ClippingPlaneComponent | undefined> {
|
|
18660
|
+
declare class Geometry3D<M$1 extends MeshComponentTypes = MeshComponent, S extends StyleComponent | Text3DStyleComponent | ModelStyleComponnet = StyleComponent, I extends InteractionComponent = InteractionComponent, T$1 extends MappedComponentType<M$1> = MappedComponentType<M$1>, O extends OutlineComponent | undefined = OutlineComponent | undefined, F$1 extends FocusableComponent | undefined = FocusableComponent | undefined, TX extends TextureComponent | undefined = TextureComponent | undefined, B extends BorderComponent | undefined = BorderComponent | undefined, C extends ClippingPlaneComponent | undefined = ClippingPlaneComponent | undefined, Sl extends SlopeComponent | undefined = SlopeComponent | undefined> {
|
|
18487
18661
|
id: string | number;
|
|
18488
|
-
components: [M$1, S, I?, O?, F$1?, B?, TX?, C?];
|
|
18662
|
+
components: [M$1, S, I?, O?, F$1?, B?, TX?, C?, Sl?];
|
|
18489
18663
|
getComponent<K$1 extends keyof ComponentTypeMap$1>(type: K$1): ComponentTypeMap$1[K$1] | undefined;
|
|
18490
18664
|
/**
|
|
18491
18665
|
* Parent geometry group ID
|
|
@@ -18855,6 +19029,7 @@ type InteractionPayload = {
|
|
|
18855
19029
|
type InteractionEvents = {
|
|
18856
19030
|
click: InteractionPayload;
|
|
18857
19031
|
hover: Omit<InteractionPayload, 'pointerEvent'>;
|
|
19032
|
+
'long-press': InteractionPayload;
|
|
18858
19033
|
'singletap-with-twofinger': PointerEvent;
|
|
18859
19034
|
'doubletap-with-onefinger': PointerEvent;
|
|
18860
19035
|
};
|
|
@@ -18898,6 +19073,16 @@ declare class InteractionSystem extends PubSub<InteractionEvents> {
|
|
|
18898
19073
|
getGroupContainerIntersectsFromXY(point: Vector2): any;
|
|
18899
19074
|
private onPointerDown;
|
|
18900
19075
|
private clickTimeout;
|
|
19076
|
+
private pressTimeout;
|
|
19077
|
+
private pressTriggered;
|
|
19078
|
+
private clearPressTimer;
|
|
19079
|
+
/**
|
|
19080
|
+
* Fires a `press` (long-press) if the pointer is still held in place: the
|
|
19081
|
+
* mouse-down is still active, the gesture has not become a pan, it has not
|
|
19082
|
+
* moved past the click distance threshold, and it is a single pointer (not a
|
|
19083
|
+
* pinch / two-finger gesture). Publishes the same payload shape as `click`.
|
|
19084
|
+
*/
|
|
19085
|
+
private maybeFirePress;
|
|
18901
19086
|
private onPointerUp;
|
|
18902
19087
|
private flush;
|
|
18903
19088
|
handleHover(e?: PointerEvent): void;
|
|
@@ -18971,7 +19156,7 @@ declare class BatchedMeshSystem extends PubSub<{
|
|
|
18971
19156
|
constructor(state: RendererState, convertTo3DMapPosition: any);
|
|
18972
19157
|
createEntityFromFeature(id: string | number, featureOrFeatures: Feature<Polygon | LineString | MultiPolygon, MeshComponentProperties> | Feature<Polygon | LineString | MultiPolygon, MeshComponentProperties>[], style?: (LineStyle$2 | PaintStyle$2) & {
|
|
18973
19158
|
focusable?: boolean;
|
|
18974
|
-
}): Geometry3D<MeshComponent, StyleComponent, InteractionComponent, "geometry", OutlineComponent | undefined, FocusableComponent | undefined, TextureComponent | undefined, BorderComponent | undefined, ClippingPlaneComponent | undefined>;
|
|
19159
|
+
}): Geometry3D<MeshComponent, StyleComponent, InteractionComponent, "geometry", OutlineComponent | undefined, FocusableComponent | undefined, TextureComponent | undefined, BorderComponent | undefined, ClippingPlaneComponent | undefined, SlopeComponent | undefined>;
|
|
18975
19160
|
populateEntityMesh(entity: Geometry3D, geometry: BufferGeometry, isMerged?: boolean): void;
|
|
18976
19161
|
populateEntityGroup(entities: Set<string | number>): Set<string | number>;
|
|
18977
19162
|
update(): Promise<void>;
|
|
@@ -20405,6 +20590,12 @@ declare class MeshModificationSystem {
|
|
|
20405
20590
|
constructor(rendererState: RendererState);
|
|
20406
20591
|
updateOne(entity?: EntityTypes): void;
|
|
20407
20592
|
update(): void;
|
|
20593
|
+
/**
|
|
20594
|
+
* Applies the style's `slope` to the mesh being processed. A non-zero slope is applied;
|
|
20595
|
+
* a missing/zero slope clears any previously applied taper. Returns true when the mesh
|
|
20596
|
+
* geometry was modified.
|
|
20597
|
+
*/
|
|
20598
|
+
applySlope(): boolean;
|
|
20408
20599
|
cleanup(): void;
|
|
20409
20600
|
}
|
|
20410
20601
|
//#endregion
|
|
@@ -22467,6 +22658,10 @@ type MapEvent = {
|
|
|
22467
22658
|
* Fired when the user clicks on an interactive entity on the map.
|
|
22468
22659
|
*/
|
|
22469
22660
|
click: ClickPayload;
|
|
22661
|
+
/**
|
|
22662
|
+
* Fired when the user long-presses (taps and holds) on the map.
|
|
22663
|
+
*/
|
|
22664
|
+
'long-press': ClickPayload;
|
|
22470
22665
|
/**
|
|
22471
22666
|
* Fired when the camera moves, either by user interaction or programmatic change.
|
|
22472
22667
|
*/
|
|
@@ -22884,9 +23079,10 @@ type FootprintConfig = {
|
|
|
22884
23079
|
* @param floorIdsInNavigation - Array of floor IDs that are part of the current navigation
|
|
22885
23080
|
* @param floorsVisualHeightMap - Map of floor elevations to their visual height data (altitude map from FloorStackObject)
|
|
22886
23081
|
* @param footprintConfig - Configuration for footprint color and voids behavior
|
|
23082
|
+
* @param showAllFloorsIncludedInNavigation - When true, render navigation floors regardless of whether they sit above or below the current floor (fixes descending-route path gaps)
|
|
22887
23083
|
* @returns The visibility state for all floors
|
|
22888
23084
|
*/
|
|
22889
|
-
declare function getMultiFloorState(floors: Floor[], currentFloor: Floor, floorIdsInNavigation: Floor['id'][], floorsVisualHeightMap: Map<number, TFloorAltitudeData>, footprintConfig: FootprintConfig): VisibilityState;
|
|
23085
|
+
declare function getMultiFloorState(floors: Floor[], currentFloor: Floor, floorIdsInNavigation: Floor['id'][], floorsVisualHeightMap: Map<number, TFloorAltitudeData>, footprintConfig: FootprintConfig, showAllFloorsIncludedInNavigation?: boolean): VisibilityState;
|
|
22890
23086
|
//#endregion
|
|
22891
23087
|
//#region src/index.d.ts
|
|
22892
23088
|
/**
|
|
@@ -23353,4 +23549,4 @@ declare const getVersion: () => string | undefined;
|
|
|
23353
23549
|
*/
|
|
23354
23550
|
declare const show3dMapGeojson: (el: HTMLElement, mapData: MapData, options?: TShow3DMapOptions) => Promise<MapView>;
|
|
23355
23551
|
//#endregion
|
|
23356
|
-
export { ACTION_TYPE, ANIMATION_TWEENS, type AddText3DOptions, type AddText3DPointOptions, type Analytics, Annotation, Area, type AutoElements, BBox, BEARING_TYPE, CONNECTION_TYPE, type Camera, type CameraBounds, type CameraTransform, type CaptureEventsPayloadMap, type ColorString, Connection, Coordinate, DOORS, type Debug, type DebugState, DetailedMapData, Directions, Door, E_SDK_LOG_LEVEL, type EasingCurve, EnterpriseCategory, EnterpriseLocation, EnterpriseVenue, type EnvMapOptions, type Environment, type Exporter, Facade, Feature, FeatureCollection, Floor, FloorStack, type FootprintConfig, GeoJSON$1 as GeoJSON, GeoJsonGeometryTypes, GeoJsonObject, GeoJsonProperties, GeoJsonTypes, Geometry, GeometryCollection, GeometryObject, type GlobalState, Hyperlink, type IAnchorable, type IFocusable, type IGeoJSONData, type INavigatable, type ISystemPlugin, type Image3D, type Image3DView, ImageMetaData, type InitializeModelState, type InitializeText3DState, type InsetPadding, type InsetPaddingOption, type InterpolateOn, type Interpolation, type Label, type LabelAppearance, type LabelTextPlacement, type Labels, LineString, type LineStyle, LocationCategory, LocationProfile, type LocationSocial, type LocationState, MAPPEDIN_COLORS, type MapData, type MapDataElements, type MapElementToGetRenderedState, type MapElementToGetState, type MapElementToUpdateState, type MapElementsWithState, type MapFeatureOfType, MapObject, MapView, type MapViewElements, type MapViewState, type MappedinError, type MappedinRenderError, type Marker, type Markers, type MatchInfo, type Model, type Models, type MultiFloorViewEffectState, MultiLineString, MultiPoint, MultiPolygon, type Navigation, type NavigationState, Node, type OpeningHours, type OperationHours, type Outdoor, type OutlinesOptions, type PaintStyle, type Path, type PathSegment$1 as PathSegment, type PathWidth, type Paths, type PixelWidth, type Places, Point, PointOfInterest, Polygon, type Position, type PubSub, type Query, type RendererCoreOptions, type Search, type SearchOptions, type SearchResult, type SearchResultEnterpriseCategory, type SearchResultEnterpriseLocations, type SearchResultItem, type SearchResultPlaces, type SetFloorHandler, type Shading, type Shape, type Shapes, type SiblingGroup, Space, type Style, type Suggestion, type TActionType, type TAddImageOptions, type TAddLabelOptions, type TAddMarkerOptions, type TAddModel, type TAddModelOptions, type TAddPathOptions, type TAddText3DAnchorableOptions, type TAddText3DOptions, type TAnalyticsUpdateState, type TAnimateStateResult, type TAnimationOptions, type TAntialiasingOptions, type TBearingType, type TCameraAnimationOptions, type TCameraInteractionsSetOptions, type TCameraTarget, type TCancellablePromise, type TClickPayload, type TCollisionRankingTier, type TConnectionPathOptions, type TConnectionType, type TCoordinateParams, type TCreateMarker, type TDirectionInstruction, type TDirectionInstructionAction, type TDirectionZone, type TDoorsState, type TDoorsUpdateState, type TEasingFunction, type TEventPayload, type TEvents, type TExperimentalDashOptions, type TExperimentalDashStyleOptions, type TFacadeState, type TFacadeUpdateState, type TFindNearestOptions, type TFindNearestResult, type TFindPreferredLanguageInVenueOptions, type TFloorAltitudeData, type TFloorChangePayload, type TFloorChangeReason, type TFloorState, type TFloorUpdateState, type TFocusOnOptions, type TFocusTarget, type TGeometryState, type TGeometryUpdateState, type TGetDirectionsOptions, type TGetMapDataOptions, type TGetMapDataSharedOptions, type TGetMapDataWithAccessTokenOptions, type TGetMapDataWithCredentialsOptions, type TGetState, type THoverPayload, type THydrateMapDataBundle, type TImage3DState as TImageState, type TImage3DUpdateState as TImageUpdateState, type TLabelState, type TLabelUpdateState, type TLogLevelName, type TMVF, type TMVFLineStringStyle, type TMVFPointStyle, type TMVFPolygonStyle, type TMVFStyle, type TMVFStyleCollection, type TMapDataEvents, type TMapDataObjectTypes, type TMapFeatureTypes, type TMapViewObjectTypes, type TMarkerPlacement, type TMarkerState, type TMarkerUpdateState, type TModelState, type TModelUpdateState, type TMultiFloorViewOptions, type TNavigationMarker, type TNavigationMarkerType, type TNavigationOptions, type TNavigationPathOptions, type TNavigationTarget, type TOutsideThresholdPathStyle, type TPathSectionHighlightOptions, type TPathState, type TPathUpdateState, type TQueriables, type TQueryAtResult, type RendererState as TRendererState, type TSearchOptions, type TSetFloorOptions, type TShapeState, type TShapeUpdateState, type TShow3DMapOptions, type TSpaceType, type TStateChangedInternalPayload, type TTakeScreenshotOptions, type TTetheredOptions as TTetherOptions, type TText3DState, type TText3DUpdateState, type TTrackCoordinateOptions, type TTravelledOptions, type TUpdateState, type TWallsState, type TWallsUpdateState, TWatermarkOptions, type Text3D, type Text3DView, type UpdateGlobalState, type VisibilityState, WALLS, type WithState, MAPPEDIN_LAYER_ID as __INTERNAL__MAPPEDIN_LAYER_ID, MapLibreOverlay as __INTERNAL__MapLibreOverlay, Core as __INTERNAL__RendererCore, convertToRendererCoreOptions as __INTERNAL__convertToRendererCoreOptions, __setWatermarkOnClickFn, checkWorkerUrls, disableText3DWorker, enableTestMode, findPreferredLanguageInVenue, forceEnterpriseLocations, getMapData, getMapDataEnterprise, getMultiFloorState, getVersion, hydrateMapData, hydrateMapDataFromMVF, parseLogLevel, parseMVFv2 as parseMVF, preloadFont, setLoggerLevel, setUseEnterpriseAPI, setWorkersUrl, shouldForceEnterpriseLocations, show3dMap, show3dMapGeojson, unzipAndParseMVFv2, unzipMVFv2 as unzipMVF };
|
|
23552
|
+
export { ACTION_TYPE, ANIMATION_TWEENS, type AddText3DOptions, type AddText3DPointOptions, type Analytics, Annotation, Area, type AutoElements, BBox, BEARING_TYPE, CONNECTION_TYPE, type Camera, type CameraBounds, type CameraTransform, type CaptureEventsPayloadMap, type ColorString, Connection, Coordinate, DOORS, type Debug, type DebugState, DetailedMapData, Directions, Door, E_SDK_LOG_LEVEL, type EasingCurve, EnterpriseCategory, EnterpriseLocation, EnterpriseVenue, type EnvMapOptions, type Environment, type Exporter, Facade, Feature, FeatureCollection, Floor, FloorStack, type FootprintConfig, GeoJSON$1 as GeoJSON, GeoJsonGeometryTypes, GeoJsonObject, GeoJsonProperties, GeoJsonTypes, Geometry, GeometryCollection, GeometryObject, type GlobalState, Hyperlink, type IAnchorable, type IFocusable, type IGeoJSONData, type INavigatable, type ISystemPlugin, type Image3D, type Image3DView, ImageMetaData, type InitializeModelState, type InitializeText3DState, type InsetPadding, type InsetPaddingOption, type InterpolateOn, type Interpolation, type Label, type LabelAppearance, type LabelTextPlacement, type Labels, LineString, type LineStyle, LocationCategory, LocationProfile, type LocationSocial, type LocationState, MAPPEDIN_COLORS, type MapData, type MapDataElements, type MapElementToGetRenderedState, type MapElementToGetState, type MapElementToUpdateState, type MapElementsWithState, type MapFeatureOfType, MapObject, MapView, type MapViewElements, type MapViewState, type MappedinError, type MappedinRenderError, type Marker, type Markers, type MatchInfo, type Model, type Models, type MultiFloorViewEffectState, MultiLineString, MultiPoint, MultiPolygon, type Navigation, type NavigationState, Node, type OpeningHours, type OperationHours, type Outdoor, type OutlinesOptions, type PaintStyle, type Path, type PathSegment$1 as PathSegment, type PathWidth, type Paths, type PixelWidth, type Places, Point, PointOfInterest, Polygon, type Position, type PubSub, type Query, type RendererCoreOptions, type Search, type SearchOptions, type SearchResult, type SearchResultEnterpriseCategory, type SearchResultEnterpriseLocations, type SearchResultItem, type SearchResultPlaces, type SetFloorHandler, type Shading, type Shape, type Shapes, type SiblingGroup, Space, type Style, type Suggestion, type TActionType, type TAddImageOptions, type TAddLabelOptions, type TAddMarkerOptions, type TAddModel, type TAddModelOptions, type TAddPathOptions, type TAddText3DAnchorableOptions, type TAddText3DOptions, type TAnalyticsUpdateState, type TAnimateStateResult, type TAnimationOptions, type TAntialiasingOptions, type TBearingType, type TCameraAnimationOptions, type TCameraInteractionsSetOptions, type TCameraTarget, type TCancellablePromise, type TClickPayload, type TCollisionRankingTier, type TConnectionPathOptions, type TConnectionType, type TCoordinateParams, type TCreateMarker, type TDirectionInstruction, type TDirectionInstructionAction, type TDirectionZone, type TDoorsState, type TDoorsUpdateState, type TEasingFunction, type TEventPayload, type TEvents, type TExperimentalDashOptions, type TExperimentalDashStyleOptions, type TFacadeState, type TFacadeUpdateState, type TFindNearestOptions, type TFindNearestResult, type TFindPreferredLanguageInVenueOptions, type TFloorAltitudeData, type TFloorChangePayload, type TFloorChangeReason, type TFloorState, type TFloorUpdateState, type TFocusOnOptions, type TFocusTarget, type TGeometryState, type TGeometryUpdateState, type TGetDirectionsOptions, type TGetMapDataOptions, type TGetMapDataSharedOptions, type TGetMapDataWithAccessTokenOptions, type TGetMapDataWithCredentialsOptions, type TGetState, type THoverPayload, type THydrateMapDataBundle, type TImage3DState as TImageState, type TImage3DUpdateState as TImageUpdateState, type TLabelState, type TLabelUpdateState, type TLogLevelName, type TLongPressPayload, type TMVF, type TMVFLineStringStyle, type TMVFPointStyle, type TMVFPolygonStyle, type TMVFStyle, type TMVFStyleCollection, type TMapDataEvents, type TMapDataObjectTypes, type TMapFeatureTypes, type TMapViewObjectTypes, type TMarkerPlacement, type TMarkerState, type TMarkerUpdateState, type TModelState, type TModelUpdateState, type TMultiFloorViewOptions, type TNavigationMarker, type TNavigationMarkerType, type TNavigationOptions, type TNavigationPathOptions, type TNavigationTarget, type TOutsideThresholdPathStyle, type TPathSectionHighlightOptions, type TPathState, type TPathUpdateState, type TQueriables, type TQueryAtResult, type RendererState as TRendererState, type TSearchOptions, type TSetFloorOptions, type TShapeState, type TShapeUpdateState, type TShow3DMapOptions, type TSpaceType, type TStateChangedInternalPayload, type TTakeScreenshotOptions, type TTetheredOptions as TTetherOptions, type TText3DState, type TText3DUpdateState, type TTrackCoordinateOptions, type TTravelledOptions, type TUpdateState, type TWallsState, type TWallsUpdateState, TWatermarkOptions, type Text3D, type Text3DView, type UpdateGlobalState, type VisibilityState, WALLS, type WithState, MAPPEDIN_LAYER_ID as __INTERNAL__MAPPEDIN_LAYER_ID, MapLibreOverlay as __INTERNAL__MapLibreOverlay, Core as __INTERNAL__RendererCore, convertToRendererCoreOptions as __INTERNAL__convertToRendererCoreOptions, __setWatermarkOnClickFn, checkWorkerUrls, disableText3DWorker, enableTestMode, findPreferredLanguageInVenue, forceEnterpriseLocations, getMapData, getMapDataEnterprise, getMultiFloorState, getVersion, hydrateMapData, hydrateMapDataFromMVF, parseLogLevel, parseMVFv2 as parseMVF, preloadFont, setLoggerLevel, setUseEnterpriseAPI, setWorkersUrl, shouldForceEnterpriseLocations, show3dMap, show3dMapGeojson, unzipAndParseMVFv2, unzipMVFv2 as unzipMVF };
|
package/lib/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as D,B as E,C as F,D as G,E as N,F as O,I as P,J as Q,K as R,L as S,M as T,N as U,O as V,P as W,Q as X,R as Y,S as Z,T as _,U as $,V as aa,W as ba,X as ca,a as d,b as e,c as f,d as g,e as h,f as i,g as j,h as k,i as l,j as m,k as n,l as o,m as p,n as q,o as r,p as s,q as t,r as u,s as v,t as w,u as x,v as y,w as z,x as A,y as B,z as C}from"./chunk-
|
|
1
|
+
import{A as D,B as E,C as F,D as G,E as N,F as O,I as P,J as Q,K as R,L as S,M as T,N as U,O as V,P as W,Q as X,R as Y,S as Z,T as _,U as $,V as aa,W as ba,X as ca,a as d,b as e,c as f,d as g,e as h,f as i,g as j,h as k,i as l,j as m,k as n,l as o,m as p,n as q,o as r,p as s,q as t,r as u,s as v,t as w,u as x,v as y,w as z,x as A,y as B,z as C}from"./chunk-77KKQDRA.js";import{x as L,z as M}from"./chunk-AOSLWGHW.js";import{Ea as J,Q as H,Z as I,a,b,d as c,qb as K}from"./chunk-NSFD6GIA.js";import"./chunk-5LA75EWW.js";import"./chunk-DHC2W2GX.js";import"./chunk-PWEV3AFA.js";export{z as ACTION_TYPE,H as ANIMATION_TWEENS,t as Annotation,m as Area,A as BEARING_TYPE,B as CONNECTION_TYPE,q as Connection,g as Coordinate,D as DOORS,k as DetailedMapData,E as Directions,n as Door,a as E_SDK_LOG_LEVEL,x as EnterpriseCategory,w as EnterpriseLocation,y as EnterpriseVenue,v as Facade,p as Floor,u as FloorStack,i as Hyperlink,j as ImageMetaData,G as LocationCategory,F as LocationProfile,l as MAPPEDIN_COLORS,r as MapObject,Q as MapView,h as Node,s as PointOfInterest,o as Space,C as WALLS,J as __INTERNAL__MAPPEDIN_LAYER_ID,M as __INTERNAL__MapLibreOverlay,L as __INTERNAL__RendererCore,S as __INTERNAL__convertToRendererCoreOptions,U as __setWatermarkOnClickFn,$ as checkWorkerUrls,O as disableText3DWorker,I as enableTestMode,T as findPreferredLanguageInVenue,X as forceEnterpriseLocations,Z as getMapData,_ as getMapDataEnterprise,N as getMultiFloorState,ba as getVersion,R as hydrateMapData,V as hydrateMapDataFromMVF,b as parseLogLevel,d as parseMVF,K as preloadFont,c as setLoggerLevel,W as setUseEnterpriseAPI,P as setWorkersUrl,Y as shouldForceEnterpriseLocations,aa as show3dMap,ca as show3dMapGeojson,f as unzipAndParseMVFv2,e as unzipMVF};
|