diff --git a/src/ol/util.js b/src/ol/util.js index beecbdc9fa..2eee713b3d 100644 --- a/src/ol/util.js +++ b/src/ol/util.js @@ -44,6 +44,7 @@ let uidCounter_ = 0; * * @param {Object} obj The object to get the unique ID for. * @return {number} The unique ID for the object. + * @api */ export function getUid(obj) { return obj.ol_uid || (obj.ol_uid = ++uidCounter_);