Properties
Private Optional #iframe
#iframe: HTMLIFrameElement
Private #markers
#markers: Set<string> = ...
BlueDot
Type declaration
-
disable: () => Promise<undefined>
-
-
Returns Promise<undefined>
-
-
-
Parameters
Returns Promise<undefined>
Camera
Camera
: { rotation
: number; set
: (positionOptions
?: TAnimatePositionOptions) => Promise<unknown>; setSafeAreaInsets
: (safeAreaInsets
: { bottom
: number; left
: number; right
: number; top
: number }) => void; tilt
: number; focusOn
: any } = ...
Type declaration
-
rotation: number
-
-
-
Parameters
Returns Promise<unknown>
-
setSafeAreaInsets: (safeAreaInsets: { bottom: number; left: number; right: number; top: number }) => void
-
- (safeAreaInsets: { bottom: number; left: number; right: number; top: number }): void
-
Parameters
-
safeAreaInsets: { bottom: number; left: number; right: number; top: number }
-
bottom: number
-
left: number
-
right: number
-
top: number
Returns void
-
tilt: number
-
focusOn: function
-
Parameters
Returns Promise<unknown>
CameraControls
CameraControls: { rotation: number; setRotation: (rotation: number) => Promise<undefined>; setTilt: (tilt: number) => Promise<undefined>; tilt: number } = ...
Type declaration
-
rotation: number
-
setRotation: (rotation: number) => Promise<undefined>
-
- (rotation: number): Promise<undefined>
-
Parameters
Returns Promise<undefined>
-
setTilt: (tilt: number) => Promise<undefined>
-
- (tilt: number): Promise<undefined>
-
Parameters
Returns Promise<undefined>
-
tilt: number
Journey
Type declaration
-
clear: () => Promise<undefined>
-
-
Returns Promise<undefined>
-
-
-
Parameters
Returns Promise<undefined>
-
setStep: (step: number) => Promise<undefined>
-
- (step: number): Promise<undefined>
-
Parameters
Returns Promise<undefined>
privateEventBus
private
EventBus: PubSub<{ ADD_INTERACTIVE_POLYGON: { data: { polygonId: string }; msgID?: string }; BLUEDOT_POSITION_UPDATE: { data: { update: Omit<TBlueDotPositionUpdate, "nearestNode" | "map"> & { map?: string; nearestNode?: string } }; msgID?: string }; BLUEDOT_STATE_CHANGE: { data: { stateChange: TBlueDotStateChange }; msgID?: string }; CACHE_IMAGE: { data: { focusOptions?: Omit<TFocusOnOptionsSerializable, "targets">; locationId: string; options: TGetVenueOptions; polygonHighlightColor?: string; url?: string }; msgID?: string }; CAMERA_SET: { data: { positionOptions?: TAnimatePositionOptions }; msgID?: string }; CAMERA_SET_SAFE_AREA_INSETS: { data: { safeAreaInsets: { bottom: number; left: number; right: number; top: number } }; msgID?: string }; CLEAR_ALL_POLYGON_COLORS: { data: null; msgID?: string }; CLEAR_BUNDLE_CACHE: { data: null; msgID?: string }; CLEAR_JOURNEY: { data: null; msgID?: string }; CLEAR_POLYGON_COLOR: { data: { polygonId: string }; msgID?: string }; CREATE_MARKER: { data: { contentHtml: string; nodeOrCoordinate: { id: string; type: "Node" } | { lat: number; lon: number; mapId: string; type: "Coordinate" }; options: any }; msgID?: string }; DATA_LOADED: { data: { venueData: any }; msgID?: string }; DESTROY: { data: null; msgID?: string }; DISABLE_BLUE_DOT: { data: null; msgID?: string }; DRAW_JOURNEY: { data: { directions: IDirectionsResult; options: TSerializableJourneyOptions }; msgID?: string }; DRAW_PATH: { data: { path: string[]; pathOptions: TPathOptions }; msgID?: string }; ENABLE_BEARING: { data: any; msgID?: string }; ENABLE_BLUE_DOT: { data: { options?: TEnableBlueDotOptionsBase }; msgID?: string }; FIRST_MAP_LOADED: { data: { venueData?: any }; msgID?: string }; FOCUS_ON: { data: { focusOptions: TFocusOnOptionsSerializable }; msgID?: string }; FOCUS_ON_LEGACY: { data: { focusOptions: TFocusOnOptionsLegacySerializable }; msgID?: string }; GET_BLUE_DOT_IS_FOLLOWING: { data: any; msgID?: string }; GET_DIRECTIONS: { data: { accessible?: boolean; from: TSerializedNode | TSerializedLocation | TSerializedPolygon; to: TSerializedNode | TSerializedLocation | TSerializedPolygon }; msgID?: string }; GET_IMAGE: { data: { fileName: string }; msgID?: string }; GET_MAP_POLYGONS: { data: { mapId: string }; msgID?: string }; GET_NEAREST_NODE: { data: any; msgID?: string }; GET_NEAREST_NODE_BY_SCREEN_COORDINATES: { data: { map?: string; x: number; y: number }; msgID?: string }; LABEL_ALL_LOCATIONS: { data: { options?: Omit<TReactNativeFlatLabelAllLocations, "locations"> & { flatLabels?: boolean; legacyLabels?: boolean; locations?: string[] } & Omit<TLabelAllLocationFloatingLabelOptions, "locations"> & { flatLabels?: boolean; legacyLabels?: boolean; locations?: string[] } & Omit<TReactNativeFlatLabelAllLocationsLegacy, "locations"> & { flatLabels?: boolean; legacyLabels?: boolean; locations?: string[] } }; msgID?: string }; LABEL_POLYGON: { data: { options: TCommonLabelOptions & { appearance?: TFloatingLabelAppearance; flatLabels?: false; rank?: number; scale?: number } & { legacyLabels?: boolean } & TCommonLabelOptions & { appearance?: TFlatLabelAppearance; flatLabels?: true } & { legacyLabels?: boolean }; polygonId: string }; msgID?: string }; LOAD_MINIMAP: { data: { options: TGetVenueOptions }; msgID?: string }; LOAD_VENUE: { data: { options: TGetVenueOptions & { useBundle?: boolean }; showVenueOptions: TShowVenueOptions }; msgID?: string }; LOG: { data: string; msgID?: string }; MAP_CHANGED: { data: { mapId: string }; msgID?: string }; MINIMAP_READY: { data: null; msgID?: string }; NOTHING_CLICKED: { data: null; msgID?: string }; OVERRIDE_LOCATION: { data: { location: TGeolocationObject }; msgID?: string }; POLYGON_CLICKED: { data: { polygonId: string }; msgID?: string }; READY: { data: null; msgID?: string }; REJECT: { data: any; msgID?: string }; REMOVE_ALL_LABELS: { data: null; msgID?: string }; REMOVE_ALL_PATHS: { data: null; msgID?: string }; REMOVE_INTERACTIVE_POLYGONS: { data: null; msgID?: string }; REMOVE_MARKER: { data: { markerId: string }; msgID?: string }; RESOLVE: { data: any; msgID?: string }; ROTATION_CHANGED: { data: { rotation: number }; msgID?: string }; SET_BACKGROUND_COLOR: { data: { backgroundColor: string }; msgID?: string }; SET_BLUE_DOT_IS_FOLLOWING: { data: { isFollowing: boolean }; msgID?: string }; SET_COOKIE: { data: { cookie: any }; msgID?: string }; SET_JOURNEY_STEP: { data: { step: number }; msgID?: string }; SET_MAP: { data: { mapId: string }; msgID?: string }; SET_MAX_ZOOM: { data: { zoomLevel: number }; msgID?: string }; SET_MIN_ZOOM: { data: { zoomLevel: number }; msgID?: string }; SET_POLYGON_COLOR: { data: { color: string; opacity?: number; polygonId: string; textColor?: string }; msgID?: string }; SET_ROTATION: { data: { rotation: number }; msgID?: string }; SET_STATE: { data: { state: STATE }; msgID?: string }; SET_TILT: { data: { tilt: number }; msgID?: string }; SHOW_MINIMAP: { data: { format: "jsonstring"; options: TMiMapViewOptions; venueData: string }; msgID?: string }; SHOW_VENUE: { data: { format: "jsonstring"; showVenueOptions: TShowVenueOptions; venueData: string }; msgID?: string }; STATE_CHANGED: { data: { state: STATE }; msgID?: string }; TILT_CHANGED: { data: { tilt: number }; msgID?: string }; UPDATE_GEOLOCATION: { data: { data: unknown; msgID: undefined }; msgID?: string } }> = ...
BlueDot control interface