Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines parsed features

export
interface

IParsedFeatures

since

0.13

Hierarchy

  • IParsedFeatures

Implemented by

Index

Properties

Methods

Properties

name

name: string

projection

projection: string | null

The projection of this feature. If not set, the projection is unknown and the user should specify the projection for these features. If set, it should be the projection used when adding the features to a vector layer

size

size: number

type

type: string

Methods

addTo

  • addTo(source: olSourceVector<Geometry>, mapProjection: ProjectionLike, dataProjection?: ProjectionLike): void
  • Parameters

    • source: olSourceVector<Geometry>
    • mapProjection: ProjectionLike
    • Optional dataProjection: ProjectionLike

    Returns void

hasFeatures

  • hasFeatures(): boolean
  • Indicates if there are any features. If false, it signals that the parsing attempt failed

    Returns boolean

Generated using TypeDoc