From 63a4a0c1d934bde11a4252d9b1275c6cbfc5f332 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Thu, 23 Apr 2015 20:27:28 +0200 Subject: [PATCH] Add basic docs for scalelinecontrol --- src/ol/control/scalelinecontrol.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ol/control/scalelinecontrol.js b/src/ol/control/scalelinecontrol.js index cf5eeb1e49..66e1ef499a 100644 --- a/src/ol/control/scalelinecontrol.js +++ b/src/ol/control/scalelinecontrol.js @@ -141,6 +141,7 @@ ol.control.ScaleLine.LEADING_DIGITS = [1, 2, 5]; /** + * Return the units to use in the scale line. * @return {ol.control.ScaleLineUnits|undefined} The units to use in the scale * line. * @observable @@ -153,6 +154,7 @@ ol.control.ScaleLine.prototype.getUnits = function() { /** + * Update the scale line element. * @param {ol.MapEvent} mapEvent Map event. * @this {ol.control.ScaleLine} * @api @@ -177,6 +179,7 @@ ol.control.ScaleLine.prototype.handleUnitsChanged_ = function() { /** + * Set the units to use in the scale line. * @param {ol.control.ScaleLineUnits} units The units to use in the scale line. * @observable * @api stable