@mappedin/mappedin-js 4.0.18 → 4.0.19
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/renderer/index.d.ts +15 -1
- package/lib/esm/renderer/index.js +1 -1
- package/lib/mappedin.js +1 -1
- package/package.json +3 -3
|
@@ -60,6 +60,7 @@ declare module '@mappedin/mappedin-js' {
|
|
|
60
60
|
export { SAFE_AREA_INSET_TYPE, ANIMATION_TWEENS, CAMERA_EASING_MODE } from '@mappedin/mappedin-js/renderer/Camera';
|
|
61
61
|
export type { TGetVenueOptions, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinNavigatable, MappedinCoordinate, TShowVenueOptions } from '@mappedin/mappedin-js/get-venue';
|
|
62
62
|
export { Mappedin, MappedinDirections, MAP_RENDER_MODE } from '@mappedin/mappedin-js/get-venue';
|
|
63
|
+
export { BundleAssetManager } from '@mappedin/mappedin-js/renderer/bundle-asset-manager';
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.Search' {
|
|
@@ -1886,6 +1887,18 @@ declare module '@mappedin/mappedin-js/renderer/Camera' {
|
|
|
1886
1887
|
export default Camera;
|
|
1887
1888
|
}
|
|
1888
1889
|
|
|
1890
|
+
declare module '@mappedin/mappedin-js/renderer/bundle-asset-manager' {
|
|
1891
|
+
import type { Texture } from 'three';
|
|
1892
|
+
import { Mappedin, MappedinMap } from '@mappedin/mappedin-js/renderer';
|
|
1893
|
+
import AssetManager from '@mappedin/mappedin-js/renderer/internal/Mappedin.AssetManager';
|
|
1894
|
+
export class BundleAssetManager extends AssetManager {
|
|
1895
|
+
venueData: Mappedin;
|
|
1896
|
+
constructor(venueData: Mappedin);
|
|
1897
|
+
loadMapPolygons(map: MappedinMap): Promise<Record<string, any>>;
|
|
1898
|
+
loadImage(url: string): Promise<Texture>;
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1889
1902
|
declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartTooltip' {
|
|
1890
1903
|
import './Mappedin.SmartTooltip.scss';
|
|
1891
1904
|
import { COLLISION_RANKING_TIERS } from '@mappedin/mappedin-js/renderer/MapView.enums';
|
|
@@ -2286,6 +2299,7 @@ declare module '@mappedin/mappedin-js/renderer' {
|
|
|
2286
2299
|
export { SAFE_AREA_INSET_TYPE, ANIMATION_TWEENS, CAMERA_EASING_MODE } from '@mappedin/mappedin-js/renderer/Camera';
|
|
2287
2300
|
export type { TGetVenueOptions, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinNavigatable, MappedinCoordinate, TShowVenueOptions } from '@mappedin/mappedin-js/get-venue';
|
|
2288
2301
|
export { Mappedin, MappedinDirections, MAP_RENDER_MODE } from '@mappedin/mappedin-js/get-venue';
|
|
2302
|
+
export { BundleAssetManager } from '@mappedin/mappedin-js/renderer/bundle-asset-manager';
|
|
2289
2303
|
}
|
|
2290
2304
|
|
|
2291
2305
|
declare module '@mappedin/mappedin-js/get-venue/Mappedin.types' {
|
|
@@ -4038,7 +4052,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartCollider'
|
|
|
4038
4052
|
getBoundingBox: (TColliderStrategyProps: any) => TRange;
|
|
4039
4053
|
onStrategySelected: (collider: TCustomCollider<any>) => void;
|
|
4040
4054
|
};
|
|
4041
|
-
type TGetBoundingBox = ({ x, y }: {
|
|
4055
|
+
export type TGetBoundingBox = ({ x, y }: {
|
|
4042
4056
|
x: any;
|
|
4043
4057
|
y: any;
|
|
4044
4058
|
}) => [number, number, number, number];
|