Function getLabelOptions

  • extracts cesium label options from a feature and style

    Parameters

    • feature: Feature<Geometry>
    • style: Style

      style.getText().getFill() is set by default to be #333, if no fill is required set Fill empty by using style.getText().setFill()

    • heightReference: HeightReference
    • vectorProperties: VectorProperties

    Returns Partial<LabelOptions> | null