Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ArcGISGeoJSON

Hierarchy

  • GeoJSON
    • ArcGISGeoJSON

Index

Constructors

constructor

Methods

getLayers

  • getLayers(): string[]

getType

  • getType(): any
  • abstract

    Returns any

    Format.

readFeature

  • readFeature(source: Document | Element | any | string, opt_options?: ReadOptions | undefined): FeatureLike
  • Read a single feature from a source.

    abstract

    Parameters

    • source: Document | Element | any | string

      Source.

    • Optional opt_options: ReadOptions | undefined

      Read options.

    Returns FeatureLike

    Feature.

readFeatures

  • readFeatures(source: Document | Element | ArrayBuffer | any | string, opt_options?: ReadOptions | undefined): Array<FeatureLike>
  • Read all features from a source.

    abstract

    Parameters

    • source: Document | Element | ArrayBuffer | any | string

      Source.

    • Optional opt_options: ReadOptions | undefined

      Read options.

    Returns Array<FeatureLike>

    Features.

readGeometry

  • readGeometry(source: Document | Element | any | string, opt_options?: ReadOptions | undefined): Geometry
  • Read a single geometry from a source.

    abstract

    Parameters

    • source: Document | Element | any | string

      Source.

    • Optional opt_options: ReadOptions | undefined

      Read options.

    Returns Geometry

    Geometry.

readProjection

  • readProjection(source: Document | Element | any | string): Projection
  • Read the projection from a source.

    abstract

    Parameters

    • source: Document | Element | any | string

      Source.

    Returns Projection

    Projection.

setLayers

  • setLayers(layers: string[]): void

writeFeature

  • writeFeature(feature: any, opt_options?: WriteOptions | undefined): string
  • Encode a feature in this format.

    abstract

    Parameters

    • feature: any

      Feature.

    • Optional opt_options: WriteOptions | undefined

      Write options.

    Returns string

    Result.

writeFeatureObject

  • writeFeatureObject(feature: any, opt_options?: { dataProjection?: ProjectionLike; decimals?: number; featureProjection?: ProjectionLike; rightHanded?: boolean } | undefined): any
  • abstract

    Parameters

    • feature: any

      Feature.

    • Optional opt_options: { dataProjection?: ProjectionLike; decimals?: number; featureProjection?: ProjectionLike; rightHanded?: boolean } | undefined

      Write options.

    Returns any

    Object.

writeFeatures

  • writeFeatures(features: Array<any>, opt_options?: WriteOptions | undefined): string
  • Encode an array of features in this format.

    abstract

    Parameters

    • features: Array<any>

      Features.

    • Optional opt_options: WriteOptions | undefined

      Write options.

    Returns string

    Result.

writeFeaturesObject

  • writeFeaturesObject(features: Array<any>, opt_options?: { dataProjection?: ProjectionLike; decimals?: number; featureProjection?: ProjectionLike; rightHanded?: boolean } | undefined): any
  • abstract

    Parameters

    • features: Array<any>

      Features.

    • Optional opt_options: { dataProjection?: ProjectionLike; decimals?: number; featureProjection?: ProjectionLike; rightHanded?: boolean } | undefined

      Write options.

    Returns any

    Object.

writeGeometry

  • writeGeometry(geometry: Geometry, opt_options?: WriteOptions | undefined): string
  • Write a single geometry in this format.

    abstract

    Parameters

    • geometry: Geometry

      Geometry.

    • Optional opt_options: WriteOptions | undefined

      Write options.

    Returns string

    Result.

writeGeometryObject

  • writeGeometryObject(geometry: Geometry, opt_options?: { dataProjection?: ProjectionLike; decimals?: number; featureProjection?: ProjectionLike; rightHanded?: boolean } | undefined): any
  • abstract

    Parameters

    • geometry: Geometry

      Geometry.

    • Optional opt_options: { dataProjection?: ProjectionLike; decimals?: number; featureProjection?: ProjectionLike; rightHanded?: boolean } | undefined

      Write options.

    Returns any

    Object.

Generated using TypeDoc