Classdesc

Feature format for reading and writing data in the EsriJSON format.

Param: opt_options

Options.

Api

Hierarchy

Constructors

Methods

  • Read a feature from a EsriJSON Feature source. Only works for Feature, use readFeatures to read FeatureCollection source.

    Parameters

    • source: string | Object | ArrayBuffer | Node | Document

      Source.

    • Optional opt_options: ReadOptions

      Read options.

    Returns ol.Feature

    Feature.

    Function

    Api

  • Read all features from a EsriJSON source. Works with both Feature and FeatureCollection sources.

    Parameters

    • source: string | Object | ArrayBuffer | Node | Document

      Source.

    • Optional opt_options: ReadOptions

      Read options.

    Returns ol.Feature[]

    Features.

    Function

    Api

  • Read a geometry from a EsriJSON source.

    Parameters

    • source: string | Object | ArrayBuffer | Node | Document

      Source.

    • Optional opt_options: ReadOptions

      Read options.

    Returns ol.geom.Geometry

    Geometry.

    Function

    Api

  • Read the projection from a EsriJSON source.

    Parameters

    • source: string | Object | ArrayBuffer | Node | Document

      Source.

    Returns Projection

    Projection.

    Function

    Api

  • Encode a feature as a EsriJSON Feature string.

    Parameters

    Returns string

    EsriJSON.

    Function

    Api

  • Encode a feature as a esriJSON Feature object.

    Parameters

    Returns Object

    Object.

    Api

  • Encode an array of features as EsriJSON.

    Parameters

    Returns string

    EsriJSON.

    Function

    Api

  • Encode an array of features as a EsriJSON object.

    Parameters

    Returns Object

    EsriJSON Object.

    Api

  • Encode a geometry as a EsriJSON string.

    Parameters

    Returns string

    EsriJSON.

    Function

    Api

  • Encode a geometry as a EsriJSON object.

    Parameters

    Returns JSON

    Object.

    Api

Generated using TypeDoc