@mappedin/mappedin-js 5.9.0 → 5.9.1
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.js +1 -1
- package/lib/esm/navigator/index.js +1 -1
- package/lib/esm/renderer/{browser-XHBQYAJ5.js → browser-ISWWKGEB.js} +1 -1
- package/lib/esm/renderer/chunk-H6R5TUEB.js +1 -0
- package/lib/esm/renderer/index.css +1 -1
- package/lib/esm/renderer/index.d.ts +168 -161
- package/lib/esm/renderer/index.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 +2 -2
- package/lib/esm/renderer/chunk-3UXZQDDC.js +0 -1
|
@@ -6,16 +6,17 @@
|
|
|
6
6
|
// ../geojson
|
|
7
7
|
|
|
8
8
|
declare module '@mappedin/mappedin-js' {
|
|
9
|
-
import { MapView } from '@mappedin/mappedin-js/renderer/MapView';
|
|
9
|
+
import { MapView } from '@mappedin/mappedin-js/renderer/public/MapView';
|
|
10
10
|
import { getVenue, getVenueBundle, Mappedin, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, MappedinDestinationSet, MappedinMap, TGetVenueBundleOptions, TGetVenueOptions } from '@mappedin/mappedin-js/get-venue';
|
|
11
11
|
import { PositionUpdater } from '@mappedin/mappedin-js/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
12
12
|
import type { TMapViewOptions } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
13
13
|
import { MARKER_ANCHOR } from '@mappedin/mappedin-js/renderer/internal/Mappedin.Marker';
|
|
14
14
|
export type { Marker } from '@mappedin/mappedin-js/renderer/internal/Mappedin.Markers';
|
|
15
|
+
export type { Path } from '@mappedin/mappedin-js/renderer/internal/Mappedin.Paths';
|
|
15
16
|
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/mappedin-js/navigator';
|
|
16
17
|
export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/mappedin-js/navigator';
|
|
17
|
-
export type { IFlatLabels, FlatLabels } from '@mappedin/mappedin-js/renderer/
|
|
18
|
-
export type { IFloatingLabels, FloatingLabels } from '@mappedin/mappedin-js/renderer/
|
|
18
|
+
export type { IFlatLabels, FlatLabels } from '@mappedin/mappedin-js/renderer/public/api/FlatLabels';
|
|
19
|
+
export type { IFloatingLabels, FloatingLabels } from '@mappedin/mappedin-js/renderer/public/api/FloatingLabels';
|
|
19
20
|
export type TMappedinInitializeOutput = {
|
|
20
21
|
mapView: MapView;
|
|
21
22
|
venue: Mappedin;
|
|
@@ -59,7 +60,7 @@ declare module '@mappedin/mappedin-js' {
|
|
|
59
60
|
export type { TMappedinDirective } from '@mappedin/mappedin-js/get-venue/MappedinDirections';
|
|
60
61
|
export type { TMappedinInitializeOptions };
|
|
61
62
|
export * from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
62
|
-
export type { MapView } from '@mappedin/mappedin-js/renderer/MapView';
|
|
63
|
+
export type { MapView } from '@mappedin/mappedin-js/renderer/public/MapView';
|
|
63
64
|
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, default as Camera, } from '@mappedin/mappedin-js/renderer/Camera';
|
|
64
65
|
export type { TGetVenueOptions, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/mappedin-js/get-venue';
|
|
65
66
|
export { Mappedin, MappedinDirections, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinNavigatable, MappedinCoordinate, OfflineSearch, MAP_RENDER_MODE, setFetchFn, MappedinCollectionType, } from '@mappedin/mappedin-js/get-venue';
|
|
@@ -92,9 +93,9 @@ declare module '@mappedin/mappedin-js' {
|
|
|
92
93
|
IOutdoorContextProvider, } from './layers/Outdoor-Context/Outdoor-Context.provider';
|
|
93
94
|
}
|
|
94
95
|
|
|
95
|
-
declare module '@mappedin/mappedin-js/renderer/MapView' {
|
|
96
|
+
declare module '@mappedin/mappedin-js/renderer/public/MapView' {
|
|
96
97
|
import { Texture } from 'three';
|
|
97
|
-
import '
|
|
98
|
+
import '../internal/Mappedin.css';
|
|
98
99
|
import { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon } from '@mappedin/mappedin-js/get-venue';
|
|
99
100
|
import { E_SDK_EVENT_PAYLOAD, TCreateMarkerOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TMapViewOptions, TPathOptions, TCreateTooltipCommonOptions, TCreateTooltipOptions, TMapClickEvent } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
100
101
|
import { E_SDK_EVENT, STATE } from '@mappedin/mappedin-js/renderer/MapView.enums';
|
|
@@ -105,8 +106,8 @@ declare module '@mappedin/mappedin-js/renderer/MapView' {
|
|
|
105
106
|
import BlueDotLayer from '@mappedin/mappedin-js/renderer/layers/BlueDot';
|
|
106
107
|
import JourneyLayer from '@mappedin/mappedin-js/renderer/layers/Journey';
|
|
107
108
|
import { TGetPolygonsAtCoordinateOptions } from '@mappedin/mappedin-js/renderer';
|
|
108
|
-
import { IFlatLabels } from '@mappedin/mappedin-js/renderer/
|
|
109
|
-
import { IFloatingLabels } from '@mappedin/mappedin-js/renderer/
|
|
109
|
+
import { IFlatLabels } from '@mappedin/mappedin-js/renderer/public/api/FlatLabels';
|
|
110
|
+
import { IFloatingLabels } from '@mappedin/mappedin-js/renderer/public/api/FloatingLabels';
|
|
110
111
|
import { MarkersLayer } from '@mappedin/mappedin-js/renderer/layers/Markers';
|
|
111
112
|
import { PathsLayer } from '@mappedin/mappedin-js/renderer/layers/Paths';
|
|
112
113
|
export enum INTERNAL_EVENT {
|
|
@@ -623,7 +624,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.BlueDot/Mappedi
|
|
|
623
624
|
import { MappedinMap, MappedinNode } from '@mappedin/mappedin-js/get-venue';
|
|
624
625
|
import { TGeolocationObject } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
625
626
|
import { MapView } from '@mappedin/mappedin-js/renderer';
|
|
626
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
627
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
627
628
|
import BlueDotManager from '@mappedin/mappedin-js/renderer/internal/blue-dot-manager';
|
|
628
629
|
export const DEFAULT_BLUE_DOT_COLOR = "#2266ff";
|
|
629
630
|
export interface IPositionUpdater extends IPubSub {
|
|
@@ -1477,7 +1478,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.Markers' {
|
|
|
1477
1478
|
import { MappedinCoordinate, MappedinNode } from '@mappedin/mappedin-js/get-venue';
|
|
1478
1479
|
import { TCreateMarkerOptions, TAnimationOptions } from '@mappedin/mappedin-js/renderer';
|
|
1479
1480
|
import InternalMarker from '@mappedin/mappedin-js/renderer/internal/Mappedin.Marker';
|
|
1480
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
1481
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
1481
1482
|
import TWEEN from '@tweenjs/tween.js';
|
|
1482
1483
|
/**
|
|
1483
1484
|
* A marker containing some HTML content.
|
|
@@ -1544,6 +1545,115 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.Markers' {
|
|
|
1544
1545
|
export default MarkersController;
|
|
1545
1546
|
}
|
|
1546
1547
|
|
|
1548
|
+
declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.Paths' {
|
|
1549
|
+
import { TPathOptions, MappedinNode } from '@mappedin/mappedin-js/renderer';
|
|
1550
|
+
import { ANIMATION_TWEENS } from '@mappedin/mappedin-js/renderer/MapView.enums';
|
|
1551
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
1552
|
+
export type TPathOptionsInternal = TPathOptions & {
|
|
1553
|
+
curve?: typeof ANIMATION_TWEENS;
|
|
1554
|
+
drawConnectionSegments?: boolean;
|
|
1555
|
+
connectionPathOptions?: TPathOptions & {
|
|
1556
|
+
curve?: typeof ANIMATION_TWEENS;
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
export type TInternalPathSegment = {
|
|
1560
|
+
id: string;
|
|
1561
|
+
nodes: MappedinNode[];
|
|
1562
|
+
mapId?: string;
|
|
1563
|
+
isConnectionPathSegment?: boolean;
|
|
1564
|
+
reset: () => void;
|
|
1565
|
+
resetPulse: () => void;
|
|
1566
|
+
object: any;
|
|
1567
|
+
tween: any;
|
|
1568
|
+
pulseTween: any;
|
|
1569
|
+
endPauseTween?: any;
|
|
1570
|
+
arrowAnimationTween: any;
|
|
1571
|
+
};
|
|
1572
|
+
/**
|
|
1573
|
+
* An object containing information that was used to draw a path on the map.
|
|
1574
|
+
*/
|
|
1575
|
+
export class Path {
|
|
1576
|
+
#private;
|
|
1577
|
+
constructor(internalPathObject: InternalPath);
|
|
1578
|
+
/**
|
|
1579
|
+
* A generated ID for this path object
|
|
1580
|
+
*/
|
|
1581
|
+
get id(): string;
|
|
1582
|
+
/**
|
|
1583
|
+
* A {@link MappedinNode}[] representing the nodes in the path
|
|
1584
|
+
*/
|
|
1585
|
+
get nodes(): MappedinNode[];
|
|
1586
|
+
}
|
|
1587
|
+
/**
|
|
1588
|
+
* Represents all the segments created for a single call to drawPath()
|
|
1589
|
+
*/
|
|
1590
|
+
export class InternalPath {
|
|
1591
|
+
id: string;
|
|
1592
|
+
nodes: MappedinNode[];
|
|
1593
|
+
pathSegments: TInternalPathSegment[];
|
|
1594
|
+
options: TPathOptionsInternal;
|
|
1595
|
+
constructor(nodes: MappedinNode[], pathSegments: TInternalPathSegment[], options: TPathOptionsInternal);
|
|
1596
|
+
}
|
|
1597
|
+
class PathsController {
|
|
1598
|
+
#private;
|
|
1599
|
+
constructor(core: ICore);
|
|
1600
|
+
pathSegments: Map<string, TInternalPathSegment>;
|
|
1601
|
+
pathsById: Map<string, {
|
|
1602
|
+
path: Path;
|
|
1603
|
+
internalPath: InternalPath;
|
|
1604
|
+
}>;
|
|
1605
|
+
pathsByMeshId: Map<string, {
|
|
1606
|
+
path: Path;
|
|
1607
|
+
internalPath: InternalPath;
|
|
1608
|
+
}>;
|
|
1609
|
+
getPathLength(path: any): number;
|
|
1610
|
+
/**
|
|
1611
|
+
* Draws path in 3D space
|
|
1612
|
+
*
|
|
1613
|
+
* Draws an entire path. It takes a list of nodes and will break them into separate path segments on every man change, putting the resultant segment on the right map.
|
|
1614
|
+
*
|
|
1615
|
+
* If you have a special use case (like off graph nodes, or venues with same map vortexes) use the drawPathSegment function.
|
|
1616
|
+
*
|
|
1617
|
+
* @method drawPath
|
|
1618
|
+
* @param path {[MappedinNode]} An array of Nodes, probably from a Node's {{#crossLink "MappedinNode/directionsTo:method"}}{{/crossLink}} call.
|
|
1619
|
+
* @param [options] {Object} Options for path drawing
|
|
1620
|
+
* @param [options.color='#ff834c'] {String} Path Colour
|
|
1621
|
+
* @param [options.pulseColor='#ffffff'] {String} Colour of path pulse
|
|
1622
|
+
* @param [options.pulseIterations=1] {Number} Number of iterations to pulse to indicate direction, also accepts 'Infinity'
|
|
1623
|
+
* @param [options.pulsePauseDuration=750] {Number} How many milliseconds to wait before starting the next pulse after the current pulse travels the entirety of the path
|
|
1624
|
+
* @param [options.nearRadius=1.8] {Number} Radius of path at nearest zoom
|
|
1625
|
+
* @param [options.farRadius=options.nearRadius] {Number} Radius of path at furthest zoom
|
|
1626
|
+
* @param [options.nearZoom=375] {Number} Zoom level where the path size is `nearRadius`
|
|
1627
|
+
* @param [options.farZoom=10000] {Number} Zoom level where the path size is `farRadius`
|
|
1628
|
+
* @param [options.drawDuration=1200] {Number} Duration of path drawing
|
|
1629
|
+
* @param [options.curve=TWEEN.Easing.Cubic.InOut] {Object} Path animation curve
|
|
1630
|
+
*
|
|
1631
|
+
* // NOTE: These options are disabled
|
|
1632
|
+
* @param [options.drawConnectionSegments=true] Draw map-to-map connection segments
|
|
1633
|
+
* @param [options.connectionPathOptions] {Object} Options for floor-to-floor connection paths
|
|
1634
|
+
* @param [options.connectionPathOptions.color='#ff834c'] {String} Path Colour
|
|
1635
|
+
* @param [options.connectionPathOptions.pulseColor='#ffffff'] {String} Colour of path pulse
|
|
1636
|
+
* @param [options.connectionPathOptions.pulseIterations=Infinity] {Number} Number of iterations to pulse to indicate direction
|
|
1637
|
+
* @param [options.connectionPathOptions.nearRadius=1.8] {Number} Radius of path at nearest zoom
|
|
1638
|
+
* @param [options.connectionPathOptions.farRadius=options.connectionPathOptions.nearRadius] {Number} Radius of path at furthest zoom
|
|
1639
|
+
* @param [options.connectionPathOptions.nearZoom=375] {Number} Zoom level where the path size is `nearRadius`
|
|
1640
|
+
* @param [options.connectionPathOptions.farZoom=10000] {Number} Zoom level where the path size is `farRadius`
|
|
1641
|
+
* @param [options.connectionPathOptions.drawDuration=600] {Number} Duration of path drawing
|
|
1642
|
+
* @param [options.connectionPathOptions.curve=TWEEN.Easing.Cubic.InOut] {Object} Connection Path animation curve
|
|
1643
|
+
*
|
|
1644
|
+
* @returns {Array} Array of Tween segments representing paths drawn on screen
|
|
1645
|
+
*/
|
|
1646
|
+
drawPath(path: MappedinNode[], options?: TPathOptionsInternal): Path;
|
|
1647
|
+
/**
|
|
1648
|
+
* Redraw an existing path with optional new options. This avoids changing its ID or reference.
|
|
1649
|
+
*/
|
|
1650
|
+
redrawPath(path: Path, options?: TPathOptionsInternal): void;
|
|
1651
|
+
removePath(pathOrPathId: Path | string): void;
|
|
1652
|
+
removeAllPaths(): void;
|
|
1653
|
+
}
|
|
1654
|
+
export default PathsController;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1547
1657
|
declare module '@mappedin/mappedin-js/navigator' {
|
|
1548
1658
|
import NavigationGraph from '@mappedin/mappedin-js/navigator/NavigationGraph';
|
|
1549
1659
|
import Navigator from '@mappedin/mappedin-js/navigator/Navigator';
|
|
@@ -1553,9 +1663,9 @@ declare module '@mappedin/mappedin-js/navigator' {
|
|
|
1553
1663
|
export { E_MESSAGES } from '@mappedin/mappedin-js/navigator/Navigator';
|
|
1554
1664
|
}
|
|
1555
1665
|
|
|
1556
|
-
declare module '@mappedin/mappedin-js/renderer/
|
|
1666
|
+
declare module '@mappedin/mappedin-js/renderer/public/api/FlatLabels' {
|
|
1557
1667
|
import { MappedinPolygon } from '@mappedin/mappedin-js/get-venue';
|
|
1558
|
-
import
|
|
1668
|
+
import FlatLabelsController from '@mappedin/mappedin-js/renderer/private/controllers/FlatLabelsController';
|
|
1559
1669
|
import { TFlatLabelAllLocationsOptions, TAddFlatLabelOptions, TFlatLabelAppearance } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
1560
1670
|
export interface IFlatLabels<T = void> {
|
|
1561
1671
|
/**
|
|
@@ -1593,7 +1703,7 @@ declare module '@mappedin/mappedin-js/renderer/MapView.FlatLabels' {
|
|
|
1593
1703
|
/**
|
|
1594
1704
|
* @hidden
|
|
1595
1705
|
*/
|
|
1596
|
-
constructor(controller:
|
|
1706
|
+
constructor(controller: FlatLabelsController);
|
|
1597
1707
|
labelAllLocations(options?: TFlatLabelAllLocationsOptions): void;
|
|
1598
1708
|
add(polygon: MappedinPolygon, text: string, options?: TAddFlatLabelOptions): void;
|
|
1599
1709
|
remove(polygon: MappedinPolygon): void;
|
|
@@ -1603,10 +1713,10 @@ declare module '@mappedin/mappedin-js/renderer/MapView.FlatLabels' {
|
|
|
1603
1713
|
}
|
|
1604
1714
|
}
|
|
1605
1715
|
|
|
1606
|
-
declare module '@mappedin/mappedin-js/renderer/
|
|
1716
|
+
declare module '@mappedin/mappedin-js/renderer/public/api/FloatingLabels' {
|
|
1607
1717
|
import { MappedinNode, MappedinPolygon } from '@mappedin/mappedin-js/get-venue';
|
|
1608
1718
|
import { TAddFloatingLabelOptions, TFloatingLabelAllLocationsOptions, TFloatingLabelAppearance } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
1609
|
-
import
|
|
1719
|
+
import FloatingLabelsController from '@mappedin/mappedin-js/renderer/private/controllers/FloatingLabelsController';
|
|
1610
1720
|
export interface IFloatingLabels<T = void> {
|
|
1611
1721
|
/**
|
|
1612
1722
|
* Adds a floating label to the polygons associated with all locations on the venue.
|
|
@@ -1646,7 +1756,7 @@ declare module '@mappedin/mappedin-js/renderer/MapView.FloatingLabels' {
|
|
|
1646
1756
|
/**
|
|
1647
1757
|
* @hidden
|
|
1648
1758
|
*/
|
|
1649
|
-
constructor(controller:
|
|
1759
|
+
constructor(controller: FloatingLabelsController);
|
|
1650
1760
|
labelAllLocations(options?: TFloatingLabelAllLocationsOptions | undefined): void;
|
|
1651
1761
|
add(polygonOrNode: MappedinPolygon | MappedinNode, text: string, options?: TAddFloatingLabelOptions | undefined): void;
|
|
1652
1762
|
setAppearance(polygonOrNode: MappedinPolygon | MappedinNode, appearance: TFloatingLabelAppearance): void;
|
|
@@ -1852,10 +1962,10 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.AssetManager' {
|
|
|
1852
1962
|
|
|
1853
1963
|
declare module '@mappedin/mappedin-js/renderer/layers/Outdoor-Context/Mappedin.TileManager' {
|
|
1854
1964
|
import { Box3 } from 'three';
|
|
1855
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
1965
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
1856
1966
|
import { MappedinCoordinate, MappedinMap } from '@mappedin/mappedin-js/renderer/index.rn';
|
|
1857
1967
|
import Object3D from '@mappedin/mappedin-js/renderer/internal/object3D.destroy';
|
|
1858
|
-
import { MapView } from '@mappedin/mappedin-js/renderer/MapView';
|
|
1968
|
+
import { MapView } from '@mappedin/mappedin-js/renderer/public/MapView';
|
|
1859
1969
|
import { Tile } from '@mappedin/mappedin-js/renderer/layers/Outdoor-Context/Mappedin.Tile';
|
|
1860
1970
|
import { IOutdoorContextProvider } from '@mappedin/mappedin-js/renderer/layers/Outdoor-Context/Outdoor-Context.provider';
|
|
1861
1971
|
export enum TILE_RENDER_MODES {
|
|
@@ -1967,7 +2077,7 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinDirections' {
|
|
|
1967
2077
|
}
|
|
1968
2078
|
|
|
1969
2079
|
declare module '@mappedin/mappedin-js/renderer/Camera' {
|
|
1970
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
2080
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
1971
2081
|
import { MappedinNode, MappedinPolygon, MappedinCoordinate } from '@mappedin/mappedin-js/get-venue';
|
|
1972
2082
|
import { PubSub } from '@mappedin/mappedin-js/renderer/internal/pub-sub.typed';
|
|
1973
2083
|
import { CAMERA_EVENT_PAYLOAD, TAnimationOptions } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
@@ -2234,9 +2344,9 @@ declare module '@mappedin/mappedin-js/renderer/internal/pub-sub.typed' {
|
|
|
2234
2344
|
}
|
|
2235
2345
|
|
|
2236
2346
|
declare module '@mappedin/mappedin-js/renderer/layers/BlueDot' {
|
|
2237
|
-
import { MapView } from '@mappedin/mappedin-js/renderer/MapView';
|
|
2347
|
+
import { MapView } from '@mappedin/mappedin-js/renderer/public/MapView';
|
|
2238
2348
|
import { E_BLUEDOT_EVENT_PAYLOAD, E_BLUEDOT_EVENT } from '@mappedin/mappedin-js/renderer';
|
|
2239
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
2349
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
2240
2350
|
import { TEnableBlueDotOptions } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
2241
2351
|
import { PubSub } from '@mappedin/mappedin-js/renderer/internal/pub-sub.typed';
|
|
2242
2352
|
import EventSystemLayer from '@mappedin/mappedin-js/renderer/layers/EventSystem';
|
|
@@ -2269,7 +2379,7 @@ declare module '@mappedin/mappedin-js/renderer/layers/Journey' {
|
|
|
2269
2379
|
import { MapView, TJourneyOptions } from '@mappedin/mappedin-js/renderer';
|
|
2270
2380
|
import { MappedinDirections } from '@mappedin/mappedin-js/get-venue';
|
|
2271
2381
|
import { Journey } from '@mappedin/mappedin-js/renderer/internal/Mappedin.Journey';
|
|
2272
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
2382
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
2273
2383
|
import { Path } from '@mappedin/mappedin-js/renderer/internal/Mappedin.Paths';
|
|
2274
2384
|
class JourneyLayer {
|
|
2275
2385
|
#private;
|
|
@@ -2308,16 +2418,17 @@ declare module '@mappedin/mappedin-js/renderer/layers/Journey' {
|
|
|
2308
2418
|
}
|
|
2309
2419
|
|
|
2310
2420
|
declare module '@mappedin/mappedin-js/renderer' {
|
|
2311
|
-
import { MapView } from '@mappedin/mappedin-js/renderer/MapView';
|
|
2421
|
+
import { MapView } from '@mappedin/mappedin-js/renderer/public/MapView';
|
|
2312
2422
|
import { getVenue, getVenueBundle, Mappedin, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, MappedinDestinationSet, MappedinMap, TGetVenueBundleOptions, TGetVenueOptions } from '@mappedin/mappedin-js/get-venue';
|
|
2313
2423
|
import { PositionUpdater } from '@mappedin/mappedin-js/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
2314
2424
|
import type { TMapViewOptions } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
2315
2425
|
import { MARKER_ANCHOR } from '@mappedin/mappedin-js/renderer/internal/Mappedin.Marker';
|
|
2316
2426
|
export type { Marker } from '@mappedin/mappedin-js/renderer/internal/Mappedin.Markers';
|
|
2427
|
+
export type { Path } from '@mappedin/mappedin-js/renderer/internal/Mappedin.Paths';
|
|
2317
2428
|
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/mappedin-js/navigator';
|
|
2318
2429
|
export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/mappedin-js/navigator';
|
|
2319
|
-
export type { IFlatLabels, FlatLabels } from '@mappedin/mappedin-js/renderer/
|
|
2320
|
-
export type { IFloatingLabels, FloatingLabels } from '@mappedin/mappedin-js/renderer/
|
|
2430
|
+
export type { IFlatLabels, FlatLabels } from '@mappedin/mappedin-js/renderer/public/api/FlatLabels';
|
|
2431
|
+
export type { IFloatingLabels, FloatingLabels } from '@mappedin/mappedin-js/renderer/public/api/FloatingLabels';
|
|
2321
2432
|
export type TMappedinInitializeOutput = {
|
|
2322
2433
|
mapView: MapView;
|
|
2323
2434
|
venue: Mappedin;
|
|
@@ -2361,7 +2472,7 @@ declare module '@mappedin/mappedin-js/renderer' {
|
|
|
2361
2472
|
export type { TMappedinDirective } from '@mappedin/mappedin-js/get-venue/MappedinDirections';
|
|
2362
2473
|
export type { TMappedinInitializeOptions };
|
|
2363
2474
|
export * from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
2364
|
-
export type { MapView } from '@mappedin/mappedin-js/renderer/MapView';
|
|
2475
|
+
export type { MapView } from '@mappedin/mappedin-js/renderer/public/MapView';
|
|
2365
2476
|
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, default as Camera, } from '@mappedin/mappedin-js/renderer/Camera';
|
|
2366
2477
|
export type { TGetVenueOptions, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/mappedin-js/get-venue';
|
|
2367
2478
|
export { Mappedin, MappedinDirections, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinNavigatable, MappedinCoordinate, OfflineSearch, MAP_RENDER_MODE, setFetchFn, MappedinCollectionType, } from '@mappedin/mappedin-js/get-venue';
|
|
@@ -4207,13 +4318,13 @@ declare module '@mappedin/mappedin-js/renderer/internal/pub-sub' {
|
|
|
4207
4318
|
export {};
|
|
4208
4319
|
}
|
|
4209
4320
|
|
|
4210
|
-
declare module '@mappedin/mappedin-js/renderer/Core.interface' {
|
|
4321
|
+
declare module '@mappedin/mappedin-js/renderer/private/Core.interface' {
|
|
4211
4322
|
import { TPadding } from '@mappedin/mappedin-js/renderer';
|
|
4212
4323
|
import { MappedinMap, Mappedin, MappedinCoordinate, MappedinPolygon, MappedinNode } from '@mappedin/mappedin-js/get-venue';
|
|
4213
4324
|
import { Vector2, Vector3, Mesh } from 'three';
|
|
4214
4325
|
import { changeListenerFn, TGetPolygonsAtCoordinateOptions, TMapViewOptions } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
4215
4326
|
import RENDER from '@mappedin/mappedin-js/renderer/internal/Mappedin.RenderTasks';
|
|
4216
|
-
import { INTERNAL_EVENT_PAYLOAD, INTERNAL_EVENT } from '@mappedin/mappedin-js/renderer/MapView';
|
|
4327
|
+
import { INTERNAL_EVENT_PAYLOAD, INTERNAL_EVENT } from '@mappedin/mappedin-js/renderer/public/MapView';
|
|
4217
4328
|
import Tween, { Easing } from '@tweenjs/tween.js';
|
|
4218
4329
|
import { TaskScheduler } from '@mappedin/mappedin-js/get-venue/Mappedin.TaskScheduler';
|
|
4219
4330
|
import SceneManager from '@mappedin/mappedin-js/renderer/MapView.SceneManager';
|
|
@@ -4221,6 +4332,8 @@ declare module '@mappedin/mappedin-js/renderer/Core.interface' {
|
|
|
4221
4332
|
import { FlatLabel } from '@mappedin/mappedin-js/renderer/internal/Mappedin.LabelAtlas';
|
|
4222
4333
|
import MapObject from '@mappedin/mappedin-js/renderer/internal/Mappedin.MapObject';
|
|
4223
4334
|
import PathsController from '@mappedin/mappedin-js/renderer/internal/Mappedin.Paths';
|
|
4335
|
+
import FloatingLabelsController from '@mappedin/mappedin-js/renderer/private/controllers/FloatingLabelsController';
|
|
4336
|
+
import FlatLabelsController from '@mappedin/mappedin-js/renderer/private/controllers/FlatLabelsController';
|
|
4224
4337
|
export type TFocusOptionsLegacy = {
|
|
4225
4338
|
/**
|
|
4226
4339
|
* An array of Nodes to focus in on
|
|
@@ -4273,6 +4386,12 @@ declare module '@mappedin/mappedin-js/renderer/Core.interface' {
|
|
|
4273
4386
|
* TODO: Figure out why
|
|
4274
4387
|
*/
|
|
4275
4388
|
export interface ICore extends PubSub<INTERNAL_EVENT_PAYLOAD, INTERNAL_EVENT> {
|
|
4389
|
+
/**
|
|
4390
|
+
* Controllers
|
|
4391
|
+
*/
|
|
4392
|
+
floatingLabels: FloatingLabelsController;
|
|
4393
|
+
flatLabels: FlatLabelsController;
|
|
4394
|
+
paths: PathsController;
|
|
4276
4395
|
referenceMap: MappedinMap;
|
|
4277
4396
|
taskScheduler: TaskScheduler;
|
|
4278
4397
|
sceneManager: SceneManager | undefined;
|
|
@@ -4288,7 +4407,6 @@ declare module '@mappedin/mappedin-js/renderer/Core.interface' {
|
|
|
4288
4407
|
cameraParameters: Vector2;
|
|
4289
4408
|
resolution: Vector2;
|
|
4290
4409
|
determineNewLabelSize: any;
|
|
4291
|
-
paths: PathsController;
|
|
4292
4410
|
on<EVENT_NAME extends keyof INTERNAL_EVENT_PAYLOAD>(eventName: EVENT_NAME, fn: (payload: INTERNAL_EVENT_PAYLOAD[EVENT_NAME] extends {
|
|
4293
4411
|
data: null;
|
|
4294
4412
|
} ? INTERNAL_EVENT_PAYLOAD[EVENT_NAME]['data'] : INTERNAL_EVENT_PAYLOAD[EVENT_NAME]) => void): void;
|
|
@@ -4553,7 +4671,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.FloatingLabel'
|
|
|
4553
4671
|
import { Vector3 } from 'three';
|
|
4554
4672
|
import { TDrawFn } from '@mappedin/mappedin-js/renderer/internal/shave-text';
|
|
4555
4673
|
import type { MappedinPolygon } from '@mappedin/mappedin-js/get-venue';
|
|
4556
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
4674
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
4557
4675
|
type TStyle = {
|
|
4558
4676
|
top?: number;
|
|
4559
4677
|
left?: number;
|
|
@@ -4743,115 +4861,6 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.FloatingLabel'
|
|
|
4743
4861
|
export default FloatingLabel;
|
|
4744
4862
|
}
|
|
4745
4863
|
|
|
4746
|
-
declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.Paths' {
|
|
4747
|
-
import { TPathOptions, MappedinNode } from '@mappedin/mappedin-js/renderer';
|
|
4748
|
-
import { ANIMATION_TWEENS } from '@mappedin/mappedin-js/renderer/MapView.enums';
|
|
4749
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
4750
|
-
export type TPathOptionsInternal = TPathOptions & {
|
|
4751
|
-
curve?: typeof ANIMATION_TWEENS;
|
|
4752
|
-
drawConnectionSegments?: boolean;
|
|
4753
|
-
connectionPathOptions?: TPathOptions & {
|
|
4754
|
-
curve?: typeof ANIMATION_TWEENS;
|
|
4755
|
-
};
|
|
4756
|
-
};
|
|
4757
|
-
export type TInternalPathSegment = {
|
|
4758
|
-
id: string;
|
|
4759
|
-
nodes: MappedinNode[];
|
|
4760
|
-
mapId?: string;
|
|
4761
|
-
isConnectionPathSegment?: boolean;
|
|
4762
|
-
reset: () => void;
|
|
4763
|
-
resetPulse: () => void;
|
|
4764
|
-
object: any;
|
|
4765
|
-
tween: any;
|
|
4766
|
-
pulseTween: any;
|
|
4767
|
-
endPauseTween?: any;
|
|
4768
|
-
arrowAnimationTween: any;
|
|
4769
|
-
};
|
|
4770
|
-
/**
|
|
4771
|
-
* An object containing information that was used to draw a path on the map.
|
|
4772
|
-
*/
|
|
4773
|
-
export class Path {
|
|
4774
|
-
#private;
|
|
4775
|
-
constructor(internalPathObject: InternalPath);
|
|
4776
|
-
/**
|
|
4777
|
-
* A generated ID for this path object
|
|
4778
|
-
*/
|
|
4779
|
-
get id(): string;
|
|
4780
|
-
/**
|
|
4781
|
-
* A {@link MappedinNode}[] representing the nodes in the path
|
|
4782
|
-
*/
|
|
4783
|
-
get nodes(): MappedinNode[];
|
|
4784
|
-
}
|
|
4785
|
-
/**
|
|
4786
|
-
* Represents all the segments created for a single call to drawPath()
|
|
4787
|
-
*/
|
|
4788
|
-
export class InternalPath {
|
|
4789
|
-
id: string;
|
|
4790
|
-
nodes: MappedinNode[];
|
|
4791
|
-
pathSegments: TInternalPathSegment[];
|
|
4792
|
-
options: TPathOptionsInternal;
|
|
4793
|
-
constructor(nodes: MappedinNode[], pathSegments: TInternalPathSegment[], options: TPathOptionsInternal);
|
|
4794
|
-
}
|
|
4795
|
-
class PathsController {
|
|
4796
|
-
#private;
|
|
4797
|
-
constructor(core: ICore);
|
|
4798
|
-
pathSegments: Map<string, TInternalPathSegment>;
|
|
4799
|
-
pathsById: Map<string, {
|
|
4800
|
-
path: Path;
|
|
4801
|
-
internalPath: InternalPath;
|
|
4802
|
-
}>;
|
|
4803
|
-
pathsByMeshId: Map<string, {
|
|
4804
|
-
path: Path;
|
|
4805
|
-
internalPath: InternalPath;
|
|
4806
|
-
}>;
|
|
4807
|
-
getPathLength(path: any): number;
|
|
4808
|
-
/**
|
|
4809
|
-
* Draws path in 3D space
|
|
4810
|
-
*
|
|
4811
|
-
* Draws an entire path. It takes a list of nodes and will break them into separate path segments on every man change, putting the resultant segment on the right map.
|
|
4812
|
-
*
|
|
4813
|
-
* If you have a special use case (like off graph nodes, or venues with same map vortexes) use the drawPathSegment function.
|
|
4814
|
-
*
|
|
4815
|
-
* @method drawPath
|
|
4816
|
-
* @param path {[MappedinNode]} An array of Nodes, probably from a Node's {{#crossLink "MappedinNode/directionsTo:method"}}{{/crossLink}} call.
|
|
4817
|
-
* @param [options] {Object} Options for path drawing
|
|
4818
|
-
* @param [options.color='#ff834c'] {String} Path Colour
|
|
4819
|
-
* @param [options.pulseColor='#ffffff'] {String} Colour of path pulse
|
|
4820
|
-
* @param [options.pulseIterations=1] {Number} Number of iterations to pulse to indicate direction, also accepts 'Infinity'
|
|
4821
|
-
* @param [options.pulsePauseDuration=750] {Number} How many milliseconds to wait before starting the next pulse after the current pulse travels the entirety of the path
|
|
4822
|
-
* @param [options.nearRadius=1.8] {Number} Radius of path at nearest zoom
|
|
4823
|
-
* @param [options.farRadius=options.nearRadius] {Number} Radius of path at furthest zoom
|
|
4824
|
-
* @param [options.nearZoom=375] {Number} Zoom level where the path size is `nearRadius`
|
|
4825
|
-
* @param [options.farZoom=10000] {Number} Zoom level where the path size is `farRadius`
|
|
4826
|
-
* @param [options.drawDuration=1200] {Number} Duration of path drawing
|
|
4827
|
-
* @param [options.curve=TWEEN.Easing.Cubic.InOut] {Object} Path animation curve
|
|
4828
|
-
*
|
|
4829
|
-
* // NOTE: These options are disabled
|
|
4830
|
-
* @param [options.drawConnectionSegments=true] Draw map-to-map connection segments
|
|
4831
|
-
* @param [options.connectionPathOptions] {Object} Options for floor-to-floor connection paths
|
|
4832
|
-
* @param [options.connectionPathOptions.color='#ff834c'] {String} Path Colour
|
|
4833
|
-
* @param [options.connectionPathOptions.pulseColor='#ffffff'] {String} Colour of path pulse
|
|
4834
|
-
* @param [options.connectionPathOptions.pulseIterations=Infinity] {Number} Number of iterations to pulse to indicate direction
|
|
4835
|
-
* @param [options.connectionPathOptions.nearRadius=1.8] {Number} Radius of path at nearest zoom
|
|
4836
|
-
* @param [options.connectionPathOptions.farRadius=options.connectionPathOptions.nearRadius] {Number} Radius of path at furthest zoom
|
|
4837
|
-
* @param [options.connectionPathOptions.nearZoom=375] {Number} Zoom level where the path size is `nearRadius`
|
|
4838
|
-
* @param [options.connectionPathOptions.farZoom=10000] {Number} Zoom level where the path size is `farRadius`
|
|
4839
|
-
* @param [options.connectionPathOptions.drawDuration=600] {Number} Duration of path drawing
|
|
4840
|
-
* @param [options.connectionPathOptions.curve=TWEEN.Easing.Cubic.InOut] {Object} Connection Path animation curve
|
|
4841
|
-
*
|
|
4842
|
-
* @returns {Array} Array of Tween segments representing paths drawn on screen
|
|
4843
|
-
*/
|
|
4844
|
-
drawPath(path: MappedinNode[], options?: TPathOptionsInternal): Path;
|
|
4845
|
-
/**
|
|
4846
|
-
* Redraw an existing path with optional new options. This avoids changing its ID or reference.
|
|
4847
|
-
*/
|
|
4848
|
-
redrawPath(path: Path, options?: TPathOptionsInternal): void;
|
|
4849
|
-
removePath(pathOrPathId: Path | string): void;
|
|
4850
|
-
removeAllPaths(): void;
|
|
4851
|
-
}
|
|
4852
|
-
export default PathsController;
|
|
4853
|
-
}
|
|
4854
|
-
|
|
4855
4864
|
declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.HTMLCollider' {
|
|
4856
4865
|
import BaseCollider, { ICollider } from '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartCollider';
|
|
4857
4866
|
export type TRange = [number, number, number, number];
|
|
@@ -5139,9 +5148,8 @@ declare module '@mappedin/mappedin-js/navigator/Directive' {
|
|
|
5139
5148
|
export default Directive;
|
|
5140
5149
|
}
|
|
5141
5150
|
|
|
5142
|
-
declare module '@mappedin/mappedin-js/renderer/
|
|
5143
|
-
import {
|
|
5144
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
5151
|
+
declare module '@mappedin/mappedin-js/renderer/private/controllers/FlatLabelsController' {
|
|
5152
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
5145
5153
|
import { TAddFlatLabelOptions, MappedinPolygon, TFlatLabelAllLocationsOptions, TFlatLabelAppearance } from '@mappedin/mappedin-js/renderer';
|
|
5146
5154
|
import { FlatLabel } from '@mappedin/mappedin-js/renderer/internal/Mappedin.LabelAtlas';
|
|
5147
5155
|
export type FlatLabelRenderObject = TAddFlatLabelOptions & {
|
|
@@ -5152,10 +5160,10 @@ declare module '@mappedin/mappedin-js/renderer/layers/Labels/FlatLabelsControlle
|
|
|
5152
5160
|
distance?: number;
|
|
5153
5161
|
showLabelWhenImagePresent?: boolean;
|
|
5154
5162
|
};
|
|
5155
|
-
class
|
|
5163
|
+
class FlatLabelsController {
|
|
5156
5164
|
#private;
|
|
5157
|
-
|
|
5158
|
-
constructor(
|
|
5165
|
+
core: ICore;
|
|
5166
|
+
constructor(core: ICore);
|
|
5159
5167
|
flatLabels: {
|
|
5160
5168
|
[key in MappedinPolygon['id']]: FlatLabel;
|
|
5161
5169
|
};
|
|
@@ -5167,13 +5175,12 @@ declare module '@mappedin/mappedin-js/renderer/layers/Labels/FlatLabelsControlle
|
|
|
5167
5175
|
setHoverColorForAll(color: string): void;
|
|
5168
5176
|
removeAllLabels(): void;
|
|
5169
5177
|
}
|
|
5170
|
-
export default
|
|
5178
|
+
export default FlatLabelsController;
|
|
5171
5179
|
}
|
|
5172
5180
|
|
|
5173
|
-
declare module '@mappedin/mappedin-js/renderer/
|
|
5174
|
-
import { MapView } from '@mappedin/mappedin-js/renderer/MapView';
|
|
5181
|
+
declare module '@mappedin/mappedin-js/renderer/private/controllers/FloatingLabelsController' {
|
|
5175
5182
|
import FloatingLabel from '@mappedin/mappedin-js/renderer/internal/Mappedin.FloatingLabel';
|
|
5176
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
5183
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
5177
5184
|
import { TFloatingLabelAllLocationsOptions, MappedinPolygon, MappedinNode, TAddFloatingLabelOptions, TFloatingLabelPolygonOptions } from '@mappedin/mappedin-js/renderer';
|
|
5178
5185
|
import { TFloatingLabelAppearance } from '@mappedin/mappedin-js/renderer/index.rn';
|
|
5179
5186
|
export type TLabelRenderOptions = TFloatingLabelPolygonOptions & {
|
|
@@ -5183,10 +5190,10 @@ declare module '@mappedin/mappedin-js/renderer/layers/Labels/FloatingLabelContro
|
|
|
5183
5190
|
text: string;
|
|
5184
5191
|
createDespiteImage: boolean | undefined;
|
|
5185
5192
|
};
|
|
5186
|
-
class
|
|
5193
|
+
class FloatingLabelsController {
|
|
5187
5194
|
#private;
|
|
5188
|
-
|
|
5189
|
-
constructor(
|
|
5195
|
+
core: ICore;
|
|
5196
|
+
constructor(core: ICore);
|
|
5190
5197
|
addLabel(polygonOrNode: MappedinPolygon | MappedinNode, text: string, options?: TAddFloatingLabelOptions): FloatingLabel | FloatingLabel[] | null;
|
|
5191
5198
|
removeLabel(polygonOrNode: MappedinPolygon | MappedinNode, bulk?: boolean): void;
|
|
5192
5199
|
setPriority(polygonOrNode: MappedinPolygon | MappedinNode, rank: number): void;
|
|
@@ -5198,7 +5205,7 @@ declare module '@mappedin/mappedin-js/renderer/layers/Labels/FloatingLabelContro
|
|
|
5198
5205
|
[key in MappedinNode['id']]: FloatingLabel;
|
|
5199
5206
|
};
|
|
5200
5207
|
}
|
|
5201
|
-
export default
|
|
5208
|
+
export default FloatingLabelsController;
|
|
5202
5209
|
}
|
|
5203
5210
|
|
|
5204
5211
|
declare module '@mappedin/mappedin-js/renderer/index.rn' {
|
|
@@ -5211,8 +5218,8 @@ declare module '@mappedin/mappedin-js/renderer/index.rn' {
|
|
|
5211
5218
|
*/
|
|
5212
5219
|
getVenueBundle, MappedinDestinationSet, Mappedin, randomId, };
|
|
5213
5220
|
export { labelThemes } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
5214
|
-
export type { IFlatLabels } from '@mappedin/mappedin-js/renderer/
|
|
5215
|
-
export type { IFloatingLabels } from '@mappedin/mappedin-js/renderer/
|
|
5221
|
+
export type { IFlatLabels } from '@mappedin/mappedin-js/renderer/public/api/FlatLabels';
|
|
5222
|
+
export type { IFloatingLabels } from '@mappedin/mappedin-js/renderer/public/api/FloatingLabels';
|
|
5216
5223
|
export type { TBlueDotPositionUpdate, TBlueDotStateChange, TJourneyOptions, TMapViewOptions, TCreateMarkerOptions, TGeolocationObject, TPathOptions, TFlatLabelOptions, TAddFloatingLabelOptions, TAddFlatLabelOptions, TLabelAllLocationCommonOptions, TFloatingLabelAllLocationsOptions, TFlatLabelAllLocationsOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TEnableBlueDotOptions, TFloatingLabelAppearance, TFlatLabelAppearance, CAMERA_EVENT_PAYLOAD, TMapClickEvent, TGetPolygonsAtCoordinateOptions, } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
5217
5224
|
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/mappedin-js/navigator';
|
|
5218
5225
|
export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/mappedin-js/navigator';
|
|
@@ -5227,7 +5234,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/object3D.destroy' {
|
|
|
5227
5234
|
|
|
5228
5235
|
declare module '@mappedin/mappedin-js/renderer/layers/Outdoor-Context/Mappedin.Tile' {
|
|
5229
5236
|
import { Texture, Mesh, MeshBasicMaterial } from 'three';
|
|
5230
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
5237
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
5231
5238
|
import { MappedinCoordinate, MappedinMap } from '@mappedin/mappedin-js/renderer/index.rn';
|
|
5232
5239
|
import { TileManager } from '@mappedin/mappedin-js/renderer/layers/Outdoor-Context/Mappedin.TileManager';
|
|
5233
5240
|
export class Tile {
|
|
@@ -5330,7 +5337,7 @@ declare module '@mappedin/mappedin-js/renderer/layers/Outdoor-Context/Outdoor-Co
|
|
|
5330
5337
|
declare module '@mappedin/mappedin-js/renderer/layers/EventSystem' {
|
|
5331
5338
|
import { Object3D, Color } from 'three';
|
|
5332
5339
|
import { MapView } from '@mappedin/mappedin-js/renderer';
|
|
5333
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
5340
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
5334
5341
|
import BlueDotManager from '@mappedin/mappedin-js/renderer/internal/blue-dot-manager';
|
|
5335
5342
|
import { Path } from '@mappedin/mappedin-js/renderer/internal/Mappedin.Paths';
|
|
5336
5343
|
class EventSystemLayer {
|
|
@@ -5412,7 +5419,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.Journey' {
|
|
|
5412
5419
|
import { TJourneyOptions } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
5413
5420
|
import { MappedinDirections } from '@mappedin/mappedin-js/get-venue';
|
|
5414
5421
|
import { MapView } from '@mappedin/mappedin-js/renderer';
|
|
5415
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
5422
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
5416
5423
|
import { Path } from '@mappedin/mappedin-js/renderer/internal/Mappedin.Paths';
|
|
5417
5424
|
export type TMappedinDirections = {
|
|
5418
5425
|
distance: number;
|
|
@@ -6260,7 +6267,7 @@ declare module '@mappedin/mappedin-js/get-venue/Mappedin.TaskScheduler' {
|
|
|
6260
6267
|
declare module '@mappedin/mappedin-js/renderer/MapView.SceneManager' {
|
|
6261
6268
|
import { MappedinMap } from '@mappedin/mappedin-js/get-venue';
|
|
6262
6269
|
import { TCameraTransform, TCameraAnimationOptions } from '@mappedin/mappedin-js/renderer/Camera';
|
|
6263
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
6270
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
6264
6271
|
import MapViewScene from '@mappedin/mappedin-js/renderer/MapView.Scene';
|
|
6265
6272
|
export type TSceneTransitionOptions = {
|
|
6266
6273
|
/**
|
|
@@ -6589,7 +6596,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartCollisionE
|
|
|
6589
6596
|
import './Mappedin.SmartCollisionEngine.scss';
|
|
6590
6597
|
import { ICollider, TRange, TColliderPosition } from '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartCollider';
|
|
6591
6598
|
import { MappedinMap, MapView } from '@mappedin/mappedin-js/renderer';
|
|
6592
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
6599
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
6593
6600
|
import { Rectangle, QuadTree } from '@mappedin/mappedin-js/renderer/internal/quad-tree';
|
|
6594
6601
|
export const COLLIDER_STRATEGY_LOW_PRIORITY = "LOW_PRIORITY";
|
|
6595
6602
|
class SmartCollisionEngine {
|
|
@@ -6750,7 +6757,7 @@ declare module '@mappedin/mappedin-js/navigator/interfaces/ILocation' {
|
|
|
6750
6757
|
|
|
6751
6758
|
declare module '@mappedin/mappedin-js/renderer/MapView.Scene' {
|
|
6752
6759
|
import { MappedinMap } from '@mappedin/mappedin-js/get-venue';
|
|
6753
|
-
import { ICore } from '@mappedin/mappedin-js/renderer/Core.interface';
|
|
6760
|
+
import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
|
|
6754
6761
|
import MapObject from '@mappedin/mappedin-js/renderer/internal/Mappedin.MapObject';
|
|
6755
6762
|
import { TSceneTransitionOptions } from '@mappedin/mappedin-js/renderer/MapView.SceneManager';
|
|
6756
6763
|
class MapViewScene {
|