Interface: IViewer
viewer.IViewer
#
Implemented by#
Properties#
dataProvider• Readonly
dataProvider: IDataProvider
#
Defined inviewer/interfaces/IViewer.ts:20
#
isNavigable• Readonly
isNavigable: boolean
#
Defined inviewer/interfaces/IViewer.ts:21
#
Methods#
activateCombinedPanningâ–¸ activateCombinedPanning(): void
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:22
#
activateComponentâ–¸ activateComponent(name
): void
#
ParametersName | Type |
---|---|
name | string |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:23
#
activateCoverâ–¸ activateCover(): void
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:24
#
addCustomRendererâ–¸ addCustomRenderer(renderer
): void
#
ParametersName | Type |
---|---|
renderer | ICustomRenderer |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:25
#
attachCustomCameraControlsâ–¸ attachCustomCameraControls(controls
): void
#
ParametersName | Type |
---|---|
controls | ICustomCameraControls |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:26
#
deactivateCombinedPanningâ–¸ deactivateCombinedPanning(): void
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:27
#
deactivateComponentâ–¸ deactivateComponent(name
): void
#
ParametersName | Type |
---|---|
name | string |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:28
#
deactivateCoverâ–¸ deactivateCover(): void
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:29
#
detachCustomCameraControlsâ–¸ detachCustomCameraControls(): Promise
<ICustomCameraControls
>
#
ReturnsPromise
<ICustomCameraControls
>
#
Defined inviewer/interfaces/IViewer.ts:30
#
fireâ–¸ fire<T
>(type
, event
): void
#
Type parametersName |
---|
T |
#
ParametersName | Type |
---|---|
type | ViewerEventType |
event | T |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:31
#
getBearingâ–¸ getBearing(): Promise
<number
>
#
ReturnsPromise
<number
>
#
Defined inviewer/interfaces/IViewer.ts:34
#
getCameraControlsâ–¸ getCameraControls(): Promise
<CameraControls
>
#
ReturnsPromise
<CameraControls
>
#
Defined inviewer/interfaces/IViewer.ts:35
#
getCanvasâ–¸ getCanvas(): HTMLCanvasElement
#
ReturnsHTMLCanvasElement
#
Defined inviewer/interfaces/IViewer.ts:36
#
getCanvasContainerâ–¸ getCanvasContainer(): HTMLDivElement
#
ReturnsHTMLDivElement
#
Defined inviewer/interfaces/IViewer.ts:37
#
getCenterâ–¸ getCenter(): Promise
<number
[]>
#
ReturnsPromise
<number
[]>
#
Defined inviewer/interfaces/IViewer.ts:38
#
getComponentâ–¸ getComponent<TComponent
>(name
): TComponent
#
Type parametersName | Type |
---|---|
TComponent | extends Component <ComponentConfiguration , TComponent > |
#
ParametersName | Type |
---|---|
name | string |
#
ReturnsTComponent
#
Defined inviewer/interfaces/IViewer.ts:39
#
getContainerâ–¸ getContainer(): HTMLElement
#
ReturnsHTMLElement
#
Defined inviewer/interfaces/IViewer.ts:41
#
getFieldOfViewâ–¸ getFieldOfView(): Promise
<number
>
#
ReturnsPromise
<number
>
#
Defined inviewer/interfaces/IViewer.ts:42
#
getImageâ–¸ getImage(): Promise
<Image
>
#
ReturnsPromise
<Image
>
#
Defined inviewer/interfaces/IViewer.ts:43
#
getPointOfViewâ–¸ getPointOfView(): Promise
<PointOfView
>
#
ReturnsPromise
<PointOfView
>
#
Defined inviewer/interfaces/IViewer.ts:44
#
getPositionâ–¸ getPosition(): Promise
<LngLat
>
#
ReturnsPromise
<LngLat
>
#
Defined inviewer/interfaces/IViewer.ts:45
#
getReferenceâ–¸ getReference(): Promise
<LngLatAlt
>
#
ReturnsPromise
<LngLatAlt
>
#
Defined inviewer/interfaces/IViewer.ts:46
#
getZoomâ–¸ getZoom(): Promise
<number
>
#
ReturnsPromise
<number
>
#
Defined inviewer/interfaces/IViewer.ts:47
#
hasCustomCameraControlsâ–¸ hasCustomCameraControls(controls
): boolean
#
ParametersName | Type |
---|---|
controls | ICustomCameraControls |
#
Returnsboolean
#
Defined inviewer/interfaces/IViewer.ts:48
#
hasCustomRendererâ–¸ hasCustomRenderer(rendererId
): boolean
#
ParametersName | Type |
---|---|
rendererId | string |
#
Returnsboolean
#
Defined inviewer/interfaces/IViewer.ts:49
#
moveDirâ–¸ moveDir(direction
): Promise
<Image
>
#
ParametersName | Type |
---|---|
direction | NavigationDirection |
#
ReturnsPromise
<Image
>
#
Defined inviewer/interfaces/IViewer.ts:50
#
moveToâ–¸ moveTo(imageId
): Promise
<Image
>
#
ParametersName | Type |
---|---|
imageId | string |
#
ReturnsPromise
<Image
>
#
Defined inviewer/interfaces/IViewer.ts:51
#
offâ–¸ off<T
>(type
, handler
): void
#
Type parametersName |
---|
T |
#
ParametersName | Type |
---|---|
type | ViewerEventType |
handler | (event : T ) => void |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:52
#
onâ–¸ on<T
>(type
, handler
): void
#
Type parametersName |
---|
T |
#
ParametersName | Type |
---|---|
type | ViewerEventType |
handler | (event : T ) => void |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:55
#
projectâ–¸ project(lngLat
): Promise
<number
[]>
#
ParametersName | Type |
---|---|
lngLat | LngLat |
#
ReturnsPromise
<number
[]>
#
Defined inviewer/interfaces/IViewer.ts:58
#
projectFromBasicâ–¸ projectFromBasic(basicPoint
): Promise
<number
[]>
#
ParametersName | Type |
---|---|
basicPoint | number [] |
#
ReturnsPromise
<number
[]>
#
Defined inviewer/interfaces/IViewer.ts:59
#
removeâ–¸ remove(): void
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:60
#
removeCustomRendererâ–¸ removeCustomRenderer(rendererId
): void
#
ParametersName | Type |
---|---|
rendererId | string |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:61
#
resizeâ–¸ resize(): void
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:62
#
setAccessTokenâ–¸ setAccessToken(accessToken?
): Promise
<void
>
#
ParametersName | Type |
---|---|
accessToken? | string |
#
ReturnsPromise
<void
>
#
Defined inviewer/interfaces/IViewer.ts:69
#
setCameraControlsâ–¸ setCameraControls(controls
): void
#
ParametersName | Type |
---|---|
controls | CameraControls |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:63
#
setCenterâ–¸ setCenter(center
): void
#
ParametersName | Type |
---|---|
center | number [] |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:64
#
setFieldOfViewâ–¸ setFieldOfView(fov
): void
#
ParametersName | Type |
---|---|
fov | number |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:65
#
setFilterâ–¸ setFilter(filter?
): Promise
<void
>
#
ParametersName | Type |
---|---|
filter? | FilterExpression |
#
ReturnsPromise
<void
>
#
Defined inviewer/interfaces/IViewer.ts:66
#
setRenderModeâ–¸ setRenderMode(renderMode
): void
#
ParametersName | Type |
---|---|
renderMode | RenderMode |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:67
#
setTransitionModeâ–¸ setTransitionMode(transitionMode
): void
#
ParametersName | Type |
---|---|
transitionMode | TransitionMode |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:68
#
setZoomâ–¸ setZoom(zoom
): void
#
ParametersName | Type |
---|---|
zoom | number |
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:70
#
triggerRerenderâ–¸ triggerRerender(): void
#
Returnsvoid
#
Defined inviewer/interfaces/IViewer.ts:71
#
unprojectâ–¸ unproject(pixelPoint
): Promise
<LngLat
>
#
ParametersName | Type |
---|---|
pixelPoint | number [] |
#
ReturnsPromise
<LngLat
>
#
Defined inviewer/interfaces/IViewer.ts:72
#
unprojectToBasicâ–¸ unprojectToBasic(pixelPoint
): Promise
<number
[]>
#
ParametersName | Type |
---|---|
pixelPoint | number [] |
#
ReturnsPromise
<number
[]>