Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PoiInterface

A POI represents any type of informational or functional object in a space.

The interface provides attributes for storing data that are associated to a real-world object. The titles attribute is intended to store a brief summary of the POI, which is displayed in the 2D and 3D scenes as icons. For larger bodies of information, the descriptions attribute can store large HTML-based content. Additional data or metadata can be stored in the customData attribute; this attribute can be used for processing within customized logic.

poiType is a PoiTypeInterface that the POI is categorized under.

The icon and importance attributes are used to control the visual representation and rendering of the POI.

Hierarchy

Index

Properties

attributes

attributes: Dictionary<string>

Supplementary custom key-value pairs associated to the POI.

customData

customData: string

Supplementary custom data associated to the POI.

datasetLocation

datasetLocation: Vector3

Location in the dataset's coordinate system

datasetOrientation

datasetOrientation: Quaternion

Orientation in the dataset's coordinate system

description

description: string

Large content text of the the POI in the currently set language.

descriptions

descriptions: Dictionary<string>

Large content text. It is an associative array of HTML text, whose keys are ISO 15897 locale tags.

icon

icon: string

Get the POI's icon URL. Default icon is supplied if none defined.

Readonly id

id: number

Entity id number

importance

importance: number

Non-unique numeric importance value. Used to control POI icon visual cluttering in map view.

location

location: Vector3

Location in the local coordinate system (i.e. the site coordinate system).

orientation

orientation: Quaternion

Orientation in the local coordinate system (i.e. the site coordinate system).

poiType

POI type object.

pov

Object describing preferred view on the POI. It is not possible to directly set the POV object on POIs, this must be done using the setPointOfView method.

title

title: string

Short summary text of the POI in the currently set language.

titles

titles: Dictionary<string>

Short summary text. It is an associative array of HTML text, whose keys are ISO 15897 locale tags.

Methods

copy

  • Creates a copy of the POI entity.

    Parameters

    • source: PoiInterface

      POI entity

    • Optional excludeTransients: boolean

      whether temporary fields should be excluded from the copy

    • Optional excludeId: boolean

      whether the ID field should be excluded from the copy, thus saving it won't overwrite the source entity.

    Returns PoiInterface

setPointOfView

  • setPointOfView(location: Vector3, orientation: Quaternion, fov?: number, imageId?: number): void
  • Set the pov point of view defined by the provided parameters as the default one that will be used when moving to this POI.

    Parameters

    • location: Vector3

      Mandatory parameter. Defines the position where the camera will be moved to when point cloud mode is active, or when panorama mode is active and no imageId is given

    • orientation: Quaternion

      Mandatory parameter. Defines the viewing direction that will be used once moved to the position of this POI.

    • Optional fov: number

      Optional parameter. If provided, this will be the value used for the fov once moved to the POI. If not provided, the current fov will be maintained.

    • Optional imageId: number

      Optional parameter. If provided, this will define the position where the camera moves when moving to the POI while panorama mode is active.

    Returns void

Generated using TypeDoc