From 3ce588b4911249887bc27937637b171ee03b8b93 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 4 Apr 2018 16:46:49 +0200 Subject: [PATCH] Module type for ol.format.Feature --- src/ol/source/Vector.js | 2 +- src/ol/source/VectorTile.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/source/Vector.js b/src/ol/source/Vector.js index 35778548df..b8d4a2400a 100644 --- a/src/ol/source/Vector.js +++ b/src/ol/source/Vector.js @@ -54,7 +54,7 @@ inherits(VectorSourceEvent, Event); * @property {Array.|ol.Collection.} [features] * Features. If provided as {@link ol.Collection}, the features in the source * and the collection will stay in sync. - * @property {ol.format.Feature} [format] The feature format used by the XHR + * @property {module:ol/format/Feature~FeatureFormat} [format] The feature format used by the XHR * feature loader when `url` is set. Required if `url` is set, otherwise ignored. * @property {module:ol/Feature~FeatureLoader} [loader] * The loader function used to load features, from a remote source for example. diff --git a/src/ol/source/VectorTile.js b/src/ol/source/VectorTile.js index 0b4af2049f..4883666bf7 100644 --- a/src/ol/source/VectorTile.js +++ b/src/ol/source/VectorTile.js @@ -14,7 +14,7 @@ import {createXYZ, extentFromProjection, createForProjection} from '../tilegrid. * @typedef {Object} Options * @property {ol.AttributionLike} [attributions] Attributions. * @property {number} [cacheSize=128] Cache size. - * @property {ol.format.Feature} [format] Feature format for tiles. Used and required by the default. + * @property {module:ol/format/Feature~FeatureFormat} [format] Feature format for tiles. Used and required by the default. * @property {boolean} [overlaps=true] This source may have overlapping geometries. Setting this * to `false` (e.g. for sources with polygons that represent administrative * boundaries or TopoJSON sources) allows the renderer to optimise fill and