planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

40
node_modules/ol/src/util.js generated vendored Normal file
View File

@@ -0,0 +1,40 @@
/**
* @module ol/util
*/
/**
* @return {?} Any return.
*/
export function abstract() {
return /** @type {?} */ (
(function () {
throw new Error('Unimplemented abstract method.');
})()
);
}
/**
* Counter for getUid.
* @type {number}
* @private
*/
let uidCounter_ = 0;
/**
* Gets a unique ID for an object. This mutates the object so that further calls
* with the same object as a parameter returns the same value. Unique IDs are generated
* as a strictly increasing sequence. Adapted from goog.getUid.
*
* @param {Object} obj The object to get the unique ID for.
* @return {string} The unique ID for the object.
* @api
*/
export function getUid(obj) {
return obj.ol_uid || (obj.ol_uid = String(++uidCounter_));
}
/**
* OpenLayers version.
* @type {string}
*/
export const VERSION = 'latest';