Adressed review.

Reusing transform
Changing either size of the canvas or clearing it
adding unit of hitTolerance to jsdoc
This commit is contained in:
simonseyock
2016-12-08 10:11:33 +01:00
parent 55ec0af072
commit f10ae6c474
7 changed files with 24 additions and 14 deletions

View File

@@ -94,7 +94,7 @@ ol.source.Source.toAttributionsArray_ = function(attributionLike) {
* @param {ol.Coordinate} coordinate Coordinate.
* @param {number} resolution Resolution.
* @param {number} rotation Rotation.
* @param {number} hitTolerance Hit tolerance.
* @param {number} hitTolerance Hit tolerance in pixels.
* @param {Object.<string, boolean>} skippedFeatureUids Skipped feature uids.
* @param {function((ol.Feature|ol.render.Feature)): T} callback Feature
* callback.