Classes
Type Definitions
-
vcs.vcm.maps.ClickPosition{Object}
-
Properties:
Name Type Description latitudenumber longitudenumber heightnumber | undefined groundLevelnumber | undefined obliqueParametersvcs.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_CLICKEDand FEATURE_CLICKED andvcs.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.Layerthe layer which the feature is part ofProperties:
Name Type Description idstring the id of the feature clicked, for clusters always an empty string
featureObject the clicked feature
layervcs.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.Layerthe layer which the feature is part ofProperties:
Name Type Description idstring the id of the feature clicked
featureObject the clicked feature
layervcs.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.Layerthe layer which the feature is part of- Deprecated
- 3.5
Properties:
Name Type Description idstring the id of the feature clicked
featureObject the clicked feature
layervcs.vcm.layer.Layer the layer to which the feature belongs
-
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:
virtualcityMAP 3.6