UNPKG

ol

Version:

OpenLayers mapping library

49 lines 1.27 kB
export default IGC; /** * IGC altitude/z. One of 'barometric', 'gps', 'none'. */ export type IGCZ = string; export type Options = { /** * Altitude mode. Possible * values are `'barometric'`, `'gps'`, and `'none'`. */ altitudeMode?: string; }; /** * @typedef {Object} Options * @property {IGCZ|string} [altitudeMode='none'] Altitude mode. Possible * values are `'barometric'`, `'gps'`, and `'none'`. */ /** * @classdesc * Feature format for `*.igc` flight recording files. * * As IGC sources contain a single feature, * {@link module:ol/format/IGC~IGC#readFeatures} will return the feature in an * array * * @api */ declare class IGC extends TextFeature { /** * @param {Options=} opt_options Options. */ constructor(opt_options?: Options); /** * @private * @type {IGCZ} */ private altitudeMode_; /** * @inheritDoc */ readFeatureFromText(text: any, opt_options: any): Feature<import("../geom/Geometry.js").default>; /** * @inheritDoc */ readFeaturesFromText(text: any, opt_options: any): Feature<import("../geom/Geometry.js").default>[]; } import TextFeature from "./TextFeature.js"; import Feature from "../Feature.js"; //# sourceMappingURL=IGC.d.ts.map