@vcmap/core
    Preparing search index...

    Class VectorProperties

    Properties Collection for VectorLayer Features

    Index

    Accessors

    • get classificationType(): ClassificationType | undefined

      Returns ClassificationType | undefined

    • set classificationType(classificationType: ClassificationType | undefined): void

      Parameters

      • classificationType: ClassificationType | undefined

      Returns void

    • get modelOptions(): Record<string, unknown> | undefined

      Model options are merged with the model definition from model url, scale and orientation and accepts any option passed to a Cesium.Model.

      Returns Record<string, unknown> | undefined

    • set modelOptions(modelOptions: Record<string, unknown> | undefined): void

      Parameters

      • modelOptions: Record<string, unknown> | undefined

      Returns void

    Constructors

    Methods

    • Parameters

      • feature: Feature

      Returns ClassificationType | undefined

    • Get the features or the properties modelOptions.

      Parameters

      • feature: Feature

      Returns Record<string, unknown> | undefined

    • Parameters

      • feature: Feature

      Returns NearFarScalar | undefined

    • The common vector properties for the input features.

      Parameters

      • features: Feature<Geometry, { [x: string]: any }>[]

        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. If feature array is empty, an empty object is returned.

    • Determines if a feature (in general with a point geometry) should be rendered as a geometry (billboard & label etc) or a model or a primitive

      Parameters

      • feature: Feature

      Returns "primitive" | "geometry" | "model"

    • 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, { [x: string]: any }>[]

        The features to set the vector property options on.

      Returns void

    Properties

    propertyChanged: VcsEvent<PropertyChangedKey[]>

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