Remove PluggableMap

This commit is contained in:
Tim Schaub
2022-07-31 09:39:59 -06:00
parent b534368394
commit 85ef563ba8
57 changed files with 1959 additions and 1993 deletions
+3 -3
View File
@@ -229,13 +229,13 @@ class Overlay extends BaseObject {
/**
* Get the map associated with this overlay.
* @return {import("./PluggableMap.js").default|null} The map that the
* @return {import("./Map.js").default|null} The map that the
* overlay is part of.
* @observable
* @api
*/
getMap() {
return /** @type {import("./PluggableMap.js").default|null} */ (
return /** @type {import("./Map.js").default|null} */ (
this.get(Property.MAP) || null
);
}
@@ -356,7 +356,7 @@ class Overlay extends BaseObject {
/**
* Set the map to be associated with this overlay.
* @param {import("./PluggableMap.js").default|null} map The map that the
* @param {import("./Map.js").default|null} map The map that the
* overlay is part of. Pass `null` to just remove the overlay from the current map.
* @observable
* @api