logo
API Documentation
Tutorials
Getting Started Initialization Layers Third party Controls Geometries Vector styles Measures InfoBox Utils
Releases

Documentation

Modules

  • Constants

Classes

  • LineTool
  • PolygonTool

Events

  • FEATURE_CLICK
  • FEATURE_HOVER
  • CENTER_DATE_IMAGE
  • CHANGE_MEASURE
  • CLICK
  • COMPLETE_COLLECTIONS
  • FEATURES_CLICK
  • FIND_IMAGES_LOADED
  • FINISH_MEASURE
  • MAP_INITIALIZE
  • MAP_STATUS_EVENT
  • MOVE_END
  • NO_3D_IMAGES
  • POINTER_MOVE
  • START_MEASURE
  • TILES_END_LOAD
  • TILES_START_LOAD
  • FEATURE_CLICK
  • FEATURE_HOVER

General

Classes / Controls

  • Bar
  • Button
  • Swipe
  • Toggle

Classes / Managers

  • CollectionManager
  • ImageryManager
  • LayerManager

Classes

  • Map

Classes / View

  • MapStatusView

Geometry

Classes

  • Extent
  • Feature
  • Line
  • Location
  • MultiPolygon
  • Point
  • Polygon

Classes / Readers

  • GeoJSON
  • WKT

InfoBox

Classes

  • InfoBox

Layers

Classes

  • ArcGISLayer
  • BingLayer
  • GroupLayer
  • OSMLayer
  • VectorLayer
  • VectorTileLayer
  • WFSLayer
  • WMSLayer
  • WMTSLayer
  • XYZLayer

Classes / Base Layers

  • BaseGroupLayer
  • BaseTileLayer
  • BaseVectorLayer

Measurements

Classes / Tools

  • CircleTool
  • HeightTool
  • LineTool
  • PointTool
  • PolygonTool
  • RectangleTool
  • RelativeHeightTool

Classes

  • Measure

Objects

Classes

  • CaptureProgram
  • CaptureProgramStatus
  • Collection
  • CollectionStatus
  • MapStatus

Services

Classes

  • UserService

Styles

Classes

  • Circle
  • Fill
  • Icon
  • RegularShape
  • Stroke
  • Style
  • Text

Utils

Classes

  • Transform

Class

ImageryManager

ImageryManager

The Imagery Manager class provides interaction with the imagery layer.

Classes

ImageryManager

Methods

# changeImage3D(id)

Loads a 3D image by its image ID.

Parameters:
Name Type Description
id string

The ID of the image to load in 3D mode.

# changeMode(mode) → {Promise.<{status: number, msg: string}>}

Changes the view mode of the map.

Parameters:
Name Type Description
mode '3D' | '2D'

The mode to switch to.

  • A promise resolving with the operation status and message, or rejecting on failure.
Promise.<{status: number, msg: string}>

# changeOrientation(orientation) → {Promise.<{status: number, msg: string}>}

Changes the imagery orientation in 3D mode.

Parameters:
Name Type Description
orientation string

The orientation to change to.

  • A promise resolving with the operation status and message, or rejecting if 3D mode is not active.
Promise.<{status: number, msg: string}>

# disableInfrared()

Disables infrared mode.

# enableInfrared()

Enables infrared mode.

# getAvailableCapturePrograms() → {Array.<CaptureProgramStatus>}

Get all collections in center separated by capture program.

Array.<CaptureProgramStatus>

# getCapturePrograms() → {Array.<CaptureProgram>}

Get all collections separated by capture program.

Array.<CaptureProgram>

# getCenterImageMetadata() → {Array.<Object>}

Retrieves metadata of the images at the center of the view.

The image metadata.

Array.<Object>

# hasInfrared() → {boolean}

Checks if infrared imagery is available in the current mode.

  • Returns true if infrared imagery is available, otherwise false.
boolean

# is3DAvailable(collectionIdopt, centeropt, zoomopt) → {boolean}

Checks if 3D mode is available for a specific collection, center, and zoom level. If center or zoom are not specified or are null, the function will use the map's current center and zoom.

Parameters:
Name Type Attributes Default Description
collectionId string <optional>
null

The ID of the collection to check. If not provided, it will check all available collections.

center Location <optional>
null

The geographical center [longitude, latitude] to check for 3D availability. Defaults to the map's current center if not provided.

zoom number <optional>
null

The zoom level to check for 3D mode. Defaults to the map's current zoom if not provided.

  • Returns true if 3D mode is available, otherwise false.
boolean

# isOrientationAvailable(orientation, collectionIdopt) → {boolean}

Checks whether orientation is available for the given collection (if specified).

Parameters:
Name Type Attributes Default Description
orientation string

The orientation to check. Defaults to the map's current orientation if not provided.

collectionId string | null <optional>
null

The ID of the collection to check. If null, checks globally.

  • Returns true if the orientation is available, otherwise false.
boolean

# loadDiscreteByProject(captureProgram, collectionId)

Loads discrete imagery by project.

Parameters:
Name Type Description
captureProgram string

The capture program identifier.

collectionId string

The collection name.

# selectCollection(id)

Selects a collection to be displayed in the imagery.

Parameters:
Name Type Description
id string

The collection to set on top.

Documentation generated by Vexcel Imaging