Options
All
  • Public
  • Public/Protected
  • All
Menu

A default format driver implementation primarily for interfacing with any existing OpenLayers format driver instances

export
implements

{IFormatDriver}

since

0.13

Hierarchy

  • FormatDriver

Implements

Index

Constructors

Methods

Constructors

  • new FormatDriver(type: string, format: TextFeature | JSONFeature | XMLFeature, defaultProjection?: null | string): FormatDriver
  • Parameters

    • type: string
    • format: TextFeature | JSONFeature | XMLFeature
    • defaultProjection: null | string = null

    Returns FormatDriver

Methods

  • Attempts to read the given text content into vector features. A failure of this driver to parse the features is expressed by returning an object where calling hasFeatures() on it returns false.

    Parameters

    • size: number
    • text: string

    Returns Promise<IParsedFeatures>

Generated using TypeDoc