Module type for ol.source.Vector

This commit is contained in:
Frederic Junod
2018-04-04 12:03:33 +02:00
parent e283193ff4
commit 3dbabb734b
7 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ import Style from '../style/Style.js';
* @property {string|function(module:ol/Feature~Feature):number} [weight='weight'] The feature
* attribute to use for the weight or a function that returns a weight from a feature. Weight values
* should range from 0 to 1 (and values outside will be clamped to that range).
* @property {ol.source.Vector} [source] Source.
* @property {module:ol/source/Vector~VectorSource} [source] Source.
*/
+3 -3
View File
@@ -32,7 +32,7 @@ import {createDefaultStyle, toFunction as toStyleFunction} from '../style/Style.
* texts are always rotated with the view and pixels are scaled during zoom animations.
* * `'vector'`: Vector layers are rendered as vectors. Most accurate rendering even during
* animations, but slower performance.
* @property {ol.source.Vector} [source] Source.
* @property {module:ol/source/Vector~VectorSource} [source] Source.
* @property {module:ol/PluggableMap~PluggableMap} [map] Sets the layer as overlay on a map. The map will not manage
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
@@ -181,9 +181,9 @@ VectorLayer.prototype.getRenderOrder = function() {
/**
* Return the associated {@link ol.source.Vector vectorsource} of the layer.
* Return the associated {@link module:ol/source/Vector~VectorSource vectorsource} of the layer.
* @function
* @return {ol.source.Vector} Source.
* @return {module:ol/source/Vector~VectorSource} Source.
* @api
*/
VectorLayer.prototype.getSource;