Namespace: maps

vcs.vcm.maps

Classes

Cesium
Map
Oblique
Openlayers

Type Definitions

vcs.vcm.maps.ClickPosition{Object}

Properties:
Name Type Description
latitude number
longitude number
height number | undefined
groundLevel number | undefined
obliqueParameters vcs.vcm.maps.Oblique.ClickParameters | undefined

Events

CLICKED

vcs.vcm.event.EventType.CLICKED is triggered when the globe is clicked, is always called before vcs.vcm.maps#event:MAP_CLICKED and FEATURE_CLICKED and vcs.vcm.maps.Cesium#event:CLICKED_FIRST_HIT. The clicked position in WGS84 coordinates as longitude, latitude and height properties. The clicked position is always the point on the terrain.

Type:

CLUSTER_CLICKED

vcs.vcm.event.EventType.CLUSTER_CLICKED is called when a cluster feature is clicked. Is Exclusive with vcs.vcm.maps#event:MAP_CLICKED & vcs.vcm.maps#event:FEATURE_CLICKED. vcs.vcm.layer.Layer the layer which the feature is part of

Properties:
Name Type Description
id string

the id of the feature clicked, for clusters always an empty string

feature Object

the clicked feature

layer vcs.vcm.layer.Layer

the layer to which the feature belongs

FEATURE_CLICKED

vcs.vcm.event.EventType.FEATURE_CLICKED is called when a feature is clicked for example a building or a vector object. Is Exclusive with vcs.vcm.maps#event:MAP_CLICKED & vcs.vcm.maps#event:FEATURE_CTRL_CLICKED. vcs.vcm.layer.Layer the layer which the feature is part of

Properties:
Name Type Description
id string

the id of the feature clicked

feature Object

the clicked feature

layer vcs.vcm.layer.Layer

the layer to which the feature belongs

FEATURE_CTRL_CLICKED

vcs.vcm.event.EventType.FEATURE_CTRL_CLICKED is called when a feature is clicked AND the CTRL key is pressed for example a building or a vector object. Is Exclusive with vcs.vcm.maps#event:MAP_CLICKED & vcs.vcm.maps#event:FEATURE_CLICKED. vcs.vcm.layer.Layer the layer which the feature is part of

Properties:
Name Type Description
id string

the id of the feature clicked

feature Object

the clicked feature

layer vcs.vcm.layer.Layer

the layer to which the feature belongs

Deprecated
  • 3.5

    MAP_ACTIVATED

    vcs.vcm.event.EventType.MAP_ACTIVATED is triggered when a map is activated (and on each map switch).

    Type:

    MAP_CLICKED

    vcs.vcm.event.EventType.MAP_CLICKED is triggered when the map is clicked. Is not triggered if the click is on a 3d object. This is providing the same data as the CLICKED Event but is only called if the click is directly on the map.

    Type: