becomap 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/becomap.js +1 -1
- package/lib/index.d.ts +6 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -59,6 +59,11 @@ export interface BCMapFloor {
|
|
|
59
59
|
* @returns {string} - The name of the map.
|
|
60
60
|
*/
|
|
61
61
|
get name(): string;
|
|
62
|
+
/**
|
|
63
|
+
* Elevation value.
|
|
64
|
+
* @returns {number} - The elevation of floor on the map.
|
|
65
|
+
*/
|
|
66
|
+
get elevation(): number;
|
|
62
67
|
/**
|
|
63
68
|
* Shortened or abbreviated name of the map.
|
|
64
69
|
* Useful for display in compact UI elements.
|
|
@@ -864,6 +869,7 @@ export declare class BCMapView {
|
|
|
864
869
|
* selectFloor(groundFloorMap);
|
|
865
870
|
*/
|
|
866
871
|
selectFloor(floor: BCMapFloor): void;
|
|
872
|
+
get floor(): BCMapFloor;
|
|
867
873
|
/**
|
|
868
874
|
* Retrieves all available categories.
|
|
869
875
|
* @returns An array of `BCCategory` objects representing all stored categories.
|