Module type for ol/Feature
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -49,7 +49,7 @@ app.Drag = function() {
|
||||
this.cursor_ = 'pointer';
|
||||
|
||||
/**
|
||||
* @type {ol.Feature}
|
||||
* @type {module:ol/Feature~Feature}
|
||||
* @private
|
||||
*/
|
||||
this.feature_ = null;
|
||||
|
||||
@@ -44,7 +44,7 @@ const vector = new VectorLayer({
|
||||
|
||||
/**
|
||||
* Currently drawn feature.
|
||||
* @type {ol.Feature}
|
||||
* @type {module:ol/Feature~Feature}
|
||||
*/
|
||||
let sketch;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user