Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FeatureHashOptions<>

Type Parameters

    Hierarchy

    • FeatureHashOptions

    Index

    Properties

    accuracy: number

    The encoding and decoding accuracy. Optional. Default value is 1.

    defaultValues: Object

    defaultValues.

    encodeStyles: boolean

    Encode styles. Optional.

    properties: ((arg0: Feature<Geometry>) => Object)

    Type declaration

      • (arg0: Feature<Geometry>): Object
      • A function that returns serializable properties for a feature. Optional. By default the feature properties (as returned by feature.getProperties()) are used. To be serializable the returned properties should be numbers or strings.

        Parameters

        • arg0: Feature<Geometry>

        Returns Object

    propertiesType: Object
    setStyle: boolean

    Determines whether the style defined for each feature is read and converted into: A) an ol.style.Style object set in the feature, or B) an object with key:values that defines the style properties set in the feature and for the ngeo.misc.FeatureHelper to use to style the feature with.

    Generated using TypeDoc