fix: repeating sort function + js annotation

Sort function is now bind to this, and it uses a pixelCoordinate_ member.
ol.interaction.Snap.handleEvent is removed
js annotations are modified
This commit is contained in:
Fran Peručić
2015-03-27 12:48:52 +01:00
parent ebc18b4f68
commit 42d2adb1cf
2 changed files with 26 additions and 24 deletions
+3 -2
View File
@@ -2684,7 +2684,7 @@ olx.interaction.SnapOptions;
/**
* Snap to this features
* Snap to these features. Either this option or source should be provided.
* @type {Array.<ol.Feature>|ol.Collection.<ol.Feature>|undefined}
* @api
*/
@@ -2701,8 +2701,9 @@ olx.interaction.SnapOptions.prototype.pixelTolerance;
/**
* Snap to features from this source
* Snap to features from this source. Either this option or features should be provided
* @type {ol.source.Vector|undefined}
* @api
*/
olx.interaction.SnapOptions.prototype.source;