Fix type of source and features
This commit is contained in:
@@ -56,13 +56,13 @@ ol.interaction.Snap = function(opt_options) {
|
|||||||
var options = goog.isDef(opt_options) ? opt_options : {};
|
var options = goog.isDef(opt_options) ? opt_options : {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {?ol.source.Vector}
|
* @type {ol.source.Vector}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
this.source_ = goog.isDef(options.source) ? options.source : null;
|
this.source_ = goog.isDef(options.source) ? options.source : null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {?ol.Collection.<ol.Feature>}
|
* @type {ol.Collection.<ol.Feature>}
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
this.features_ = goog.isDef(options.features) ? options.features : null;
|
this.features_ = goog.isDef(options.features) ? options.features : null;
|
||||||
|
|||||||
Reference in New Issue
Block a user