Class: IGC

ol.source. IGC

experimental new ol.source.IGC(opt_options)

Name Type Argument Description
options optional

Options.

Name Type Description
altitudeMode ol.format.IGCZ | undefined

Altitude mode. Possible values are barometric, gps, and none. Default is none.

projection ol.proj.ProjectionLike

Destination projection. If provided, features will be transformed to this projection. If not provided, features will not be transformed.

text string | undefined

Text.

url string | undefined

URL.

urls Array.<string> | undefined

URLs.

Fires:

Extends

Methods

experimental inherited addFeature(feature)

Name Type Description
feature ol.Feature

Feature.

experimental inherited addFeatures(features)

Name Type Description
features Array.<ol.Feature>

Features.

experimental inherited dispatchChangeEvent()

Dispatches a change event. Register a listener for this event to get notified of changes.

Fires:
  • change

experimental inherited forEachFeature(f, opt_this){S|undefined}

Name Type Argument Description
f function

Callback.

this T <optional>
optional

The object to use as this in f.

experimental inherited forEachFeatureInExtent(extent, f, opt_this){S|undefined}

Name Type Argument Description
extent ol.Extent

Extent.

f function

Callback.

this T <optional>
optional

The object to use as this in f.

experimental inherited getClosestFeatureToCoordinate(coordinate){ol.Feature}

Name Type Description
coordinate ol.Coordinate

Coordinate.

Returns:
feature.

experimental inherited getFeatures(){Array.<ol.Feature>}

experimental inherited getFeaturesAtCoordinate(coordinate){Array.<ol.Feature>}

Name Type Description
coordinate ol.Coordinate

Coordinate.

experimental inherited on(type, listener, opt_this){goog.events.Key}

Listen for a certain type of event.

Name Type Argument Description
type string | Array.<string>

The event type or array of event types.

listener function

The listener function.

this Object <optional>
optional

The object to use as this in listener.

Returns:
key for the listener.

experimental inherited once(type, listener, opt_this){goog.events.Key}

Listen once for a certain type of event.

Name Type Argument Description
type string | Array.<string>

The event type or array of event types.

listener function

The listener function.

this Object <optional>
optional

The object to use as this in listener.

Returns:
key for the listener.

experimental inherited removeFeature(feature)

Name Type Description
feature ol.Feature

Feature.

experimental inherited un(type, listener, opt_this)

Unlisten for a certain type of event.

Name Type Argument Description
type string | Array.<string>

The event type or array of event types.

listener function

The listener function.

this Object <optional>
optional

The object to use as this in listener.

experimental inherited unByKey(key)

Removes an event listener using the key returned by on() or once().

Name Type Description
key goog.events.Key

Key.