@mappedin/mappedin-js 5.40.0 → 5.41.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/lib/esm/get-venue/index.d.ts +5 -1
- package/lib/esm/get-venue/index.js +1 -1
- package/lib/esm/navigator/index.js +1 -1
- package/lib/esm/renderer/{GLTFExporter-4VJ5OOOO.js → GLTFExporter-KEMAR2IL.js} +1 -1
- package/lib/esm/renderer/{PerformanceController-HEOODSHY.js → PerformanceController-IBKHGAQ5.js} +1 -1
- package/lib/esm/renderer/{browser-FRXWDG7R.js → browser-WSXI76KO.js} +1 -1
- package/lib/esm/renderer/chunk-BP3DVZUC.js +1 -0
- package/lib/esm/renderer/{chunk-W2TD6U3Z.js → chunk-KOV457UP.js} +1 -1
- package/lib/esm/renderer/index.css +1 -1
- package/lib/esm/renderer/index.d.ts +21 -7
- package/lib/esm/renderer/index.js +1 -1
- package/lib/esm/renderer/{outdoor-context-L4D7PYG3.js → outdoor-context-YEDNFKBS.js} +1 -1
- package/lib/mappedin.css +1 -1
- package/lib/mappedin.js +1 -1
- package/lib/node/index.js +1 -1
- package/package.json +3 -2
- package/lib/esm/renderer/chunk-5EJA5P3H.js +0 -1
|
@@ -2086,7 +2086,7 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinNode' {
|
|
|
2086
2086
|
}
|
|
2087
2087
|
|
|
2088
2088
|
declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinPolygon' {
|
|
2089
|
-
import type { MappedinNode, MappedinLocation, Mappedin } from '@mappedin/mappedin-js/lib/esm/get-venue/internal';
|
|
2089
|
+
import type { MappedinNode, MappedinLocation, Mappedin, MappedinCoordinate } from '@mappedin/mappedin-js/lib/esm/get-venue/internal';
|
|
2090
2090
|
import { MappedinNavigatable, MappedinDirections, MappedinDestinationSet, MappedinMap, TDirectionToOptions } from '@mappedin/mappedin-js/lib/esm/get-venue/internal';
|
|
2091
2091
|
/**
|
|
2092
2092
|
* The {@link MappedinPolygon} class represents the 3D shape of a {@link MappedinLocation} on a {{@link MappedinMap}. Polygons have access to Locations they belong to, and any entrances to the Polygon.
|
|
@@ -2226,6 +2226,10 @@ declare module '@mappedin/mappedin-js/lib/esm/get-venue/MappedinPolygon' {
|
|
|
2226
2226
|
* Calculate walking distance in meters between 2 nodes, polygons or locations
|
|
2227
2227
|
*/
|
|
2228
2228
|
distanceTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): number;
|
|
2229
|
+
/**
|
|
2230
|
+
* Determines if a coordinate is within the polygon.
|
|
2231
|
+
*/
|
|
2232
|
+
containsCoordinate(coordinate: MappedinCoordinate): boolean;
|
|
2229
2233
|
toJSON(): any;
|
|
2230
2234
|
}
|
|
2231
2235
|
}
|