@mappedin/mappedin-js 6.0.1-alpha.13 → 6.0.1-alpha.14
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/lib/esm/{GLTFExporter-RKHTBBIT.js → GLTFExporter-EKBR4ACD.js} +1 -1
- package/lib/esm/{PerformanceController-ZYCWEZK7.js → PerformanceController-RGGK442R.js} +1 -1
- package/lib/esm/{browser-IIZGUZ6O.js → browser-ZYDSNHS3.js} +1 -1
- package/lib/esm/{chunk-H3B4NMBS.js → chunk-NWCN5FLM.js} +1 -1
- package/lib/esm/{chunk-GFCRGEQJ.js → chunk-V6V67AYT.js} +1 -1
- package/lib/esm/index.d.ts +16 -3
- package/lib/esm/index.js +1 -1
- package/lib/esm/{outdoor-context-3XQ5IGQ4.js → outdoor-context-UMUH6LQT.js} +1 -1
- package/package.json +1 -1
package/lib/esm/index.d.ts
CHANGED
|
@@ -3077,8 +3077,8 @@ declare module '@mappedin/mappedin-js/packages/get-venue/MappedinLocation' {
|
|
|
3077
3077
|
}
|
|
3078
3078
|
|
|
3079
3079
|
declare module '@mappedin/mappedin-js/packages/get-venue/MappedinCoordinate' {
|
|
3080
|
-
import { MappedinNode, Mappedin } from '@mappedin/mappedin-js/packages/get-venue/internal';
|
|
3081
3080
|
import type { MappedinMap } from '@mappedin/mappedin-js/packages/get-venue/internal';
|
|
3081
|
+
import { Mappedin, MappedinNode } from '@mappedin/mappedin-js/packages/get-venue/internal';
|
|
3082
3082
|
export type TMappedinCoordinateOptions = {
|
|
3083
3083
|
map: MappedinMap;
|
|
3084
3084
|
mappedin: Mappedin;
|
|
@@ -3141,6 +3141,11 @@ declare module '@mappedin/mappedin-js/packages/get-venue/MappedinCoordinate' {
|
|
|
3141
3141
|
* Get Nearest Node to Coordinate, which can then be used for navigation
|
|
3142
3142
|
*/
|
|
3143
3143
|
get nearestNode(): MappedinNode;
|
|
3144
|
+
/**
|
|
3145
|
+
* Get the {@link MappedinNode}s within a radius of the {@link MappedinCoordinate}.
|
|
3146
|
+
* @param radius - The radius in metres.
|
|
3147
|
+
*/
|
|
3148
|
+
nodesInRadius(radius: number): MappedinNode[];
|
|
3144
3149
|
toJSON(): {
|
|
3145
3150
|
x: number;
|
|
3146
3151
|
y: number;
|
|
@@ -11655,6 +11660,10 @@ declare module '@mappedin/mappedin-js/packages/get-venue/MappedinNavigatable' {
|
|
|
11655
11660
|
* Exclude all the vortexes matching the given IDs
|
|
11656
11661
|
*/
|
|
11657
11662
|
excludedVortexIds?: string[];
|
|
11663
|
+
/**
|
|
11664
|
+
* Exclude all the nodes matching the given IDs
|
|
11665
|
+
*/
|
|
11666
|
+
excludedNodeIds?: string[];
|
|
11658
11667
|
/**
|
|
11659
11668
|
* @experimental
|
|
11660
11669
|
* Apply line-of-sight simplifying to directions. This will attempt to remove unnecessary nodes between turns.
|
|
@@ -12469,6 +12478,7 @@ declare module '@mappedin/mappedin-js/packages/get-venue/Mappedin.cache' {
|
|
|
12469
12478
|
get polygonsByMapId(): Map<string, MappedinPolygon[]>;
|
|
12470
12479
|
get nodesByMapId(): Map<string, MappedinNode[]>;
|
|
12471
12480
|
findNearestNodeOnMap(mapId: string, coordinate: MappedinCoordinate): MappedinNode;
|
|
12481
|
+
findNodeWithinRadiusOnMap(mapId: string, coordinate: MappedinCoordinate, radius: number): MappedinNode[];
|
|
12472
12482
|
get locationsByMapId(): Map<string, MappedinLocation[]>;
|
|
12473
12483
|
static instances: Map<Mappedin, MappedinCache>;
|
|
12474
12484
|
static create(mappedin: Mappedin): MappedinCache;
|
|
@@ -12575,13 +12585,15 @@ declare module '@mappedin/mappedin-js/packages/navigator/NavigationGraph' {
|
|
|
12575
12585
|
* @param accessible boolean - optional, if true directions will only take accessible route, defaults to false
|
|
12576
12586
|
* @param includedVortexIds set - optional, exclude all the vertexes matching the given IDs
|
|
12577
12587
|
* @param excludedVortexIds set - optional, exclude all the vertexes matching the given IDs
|
|
12588
|
+
* @param excludedNodeIds set - optional, exclude all the nodes matching the given IDs
|
|
12578
12589
|
*/
|
|
12579
|
-
aStar({ originIds, destinationNodeIds, accessible, includedVortexIds, excludedVortexIds, }: {
|
|
12590
|
+
aStar({ originIds, destinationNodeIds, accessible, includedVortexIds, excludedVortexIds, excludedNodeIds, }: {
|
|
12580
12591
|
originIds: string[];
|
|
12581
12592
|
destinationNodeIds: string[];
|
|
12582
12593
|
accessible: boolean;
|
|
12583
12594
|
includedVortexIds?: Set<string>;
|
|
12584
12595
|
excludedVortexIds?: Set<string>;
|
|
12596
|
+
excludedNodeIds?: Set<string>;
|
|
12585
12597
|
}): Edge[];
|
|
12586
12598
|
getDistance(origin: INode, destination: INode): number;
|
|
12587
12599
|
getShortestEuclideanDistance(origin: INode, destinations: INode[]): number;
|
|
@@ -12648,10 +12660,11 @@ declare module '@mappedin/mappedin-js/packages/navigator/Navigator' {
|
|
|
12648
12660
|
* @param includedVortexIds set - optional, exclude all the vertexes matching the given IDs
|
|
12649
12661
|
* @param excludedVortexIds set - optional, exclude all the vertexes matching the given IDs
|
|
12650
12662
|
*/
|
|
12651
|
-
getDirections({ originIds, destinationNodeIds, accessible, departFrom, arriveAt, includedVortexIds, excludedVortexIds, simplify, }: {
|
|
12663
|
+
getDirections({ originIds, destinationNodeIds, accessible, departFrom, arriveAt, includedVortexIds, excludedVortexIds, excludedNodeIds, simplify, }: {
|
|
12652
12664
|
originIds: string[];
|
|
12653
12665
|
includedVortexIds?: Set<string>;
|
|
12654
12666
|
excludedVortexIds?: Set<string>;
|
|
12667
|
+
excludedNodeIds?: Set<string>;
|
|
12655
12668
|
destinationNodeIds: string[];
|
|
12656
12669
|
accessible: boolean;
|
|
12657
12670
|
departFrom?: ILocation;
|