Module type for ol/Feature

This commit is contained in:
Tim Schaub
2018-03-11 23:32:28 -06:00
parent 5c9aa0ce93
commit cf80733e41
56 changed files with 333 additions and 333 deletions

View File

@@ -70,7 +70,7 @@ const style = new Style({
* The styling function for the vector layer, will return an array of styles
* which either contains the aboove gradient or pattern.
*
* @param {ol.Feature} feature The feature to style.
* @param {module:ol/Feature~Feature} feature The feature to style.
* @param {number} resolution Resolution.
* @return {ol.style.Style} The style to use for the feature.
*/

View File

@@ -49,7 +49,7 @@ app.Drag = function() {
this.cursor_ = 'pointer';
/**
* @type {ol.Feature}
* @type {module:ol/Feature~Feature}
* @private
*/
this.feature_ = null;

View File

@@ -44,7 +44,7 @@ const vector = new VectorLayer({
/**
* Currently drawn feature.
* @type {ol.Feature}
* @type {module:ol/Feature~Feature}
*/
let sketch;