Class VectorProperties

Properties Collection for VectorLayer Features

Hierarchy

  • VectorProperties

Accessors

  • get modelOptions(): undefined | Record<string, unknown>
  • Model options are merged with the model definition from model url, scale and orientation and accepts any option passed to a Cesium.Model.

    Returns undefined | Record<string, unknown>

  • set modelOptions(modelOptions): void
  • Parameters

    • modelOptions: undefined | Record<string, unknown>

    Returns void

Constructors

Methods

  • Parameters

    • feature: Feature<Geometry>

    Returns undefined | ClassificationType

  • Get the features or the properties modelOptions. Returns an empty Object if both are undefined

    Parameters

    • feature: Feature<Geometry>

    Returns Record<string, unknown>

  • Parameters

    • feature: Feature<Geometry>

    Returns undefined | NearFarScalar

  • The common vector properties for the input features.

    Parameters

    • features: Feature<Geometry>[]

      Features for which the vector property values should be returned.

    Returns VectorPropertiesOptions

    The common vector properties for the features. When a/all feature(s) does not has a property set, the layer or, if not set, the default value is returned. If features have different values for a property, the property key is not added to the returned obeject.

  • Sets vector property options on a array of features. When a property equals the value that is returned from the getter of the VectorProperties instance, the property is unset from the feature(s).

    Parameters

    • options: VectorPropertiesOptions

      The vector property options to be set on the features.

    • features: Feature<Geometry>[]

      The features to set the vector property options on.

    Returns void

Properties

_allowPicking: boolean
_altitudeMode: HeightReference
_baseUrl: undefined | string
_classificationType: undefined | ClassificationType
_extrudedHeight: number
_eyeOffset: undefined | Cartesian3
_groundLevel: undefined | number
_heightAboveGround: number
_modelAutoScale: boolean
_modelHeading: number
_modelOptions: undefined | Record<string, unknown>
_modelPitch: number
_modelRoll: number
_modelScaleX: number
_modelScaleY: number
_modelScaleZ: number
_modelUrl: undefined | string
_scaleByDistance: undefined | NearFarScalar
_skirt: number
_storeyHeightsAboveGround: number[]
_storeyHeightsBelowGround: number[]
_storeysAboveGround: number
_storeysBelowGround: number
propertyChanged: VcsEvent<string[]>

Event raised when properties change. is passed an array of keys for the changed properties.

Generated using TypeDoc