spacemap 0.1.14 → 0.1.15

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/index.d.ts CHANGED
@@ -1956,6 +1956,15 @@ export declare class SpaceMap {
1956
1956
  * body not loaded, and until the map has read how it spins, which it does
1957
1957
  * once the camera is on the body or its system. */
1958
1958
  getSubsolarPoint(id: string): LonLat | null;
1959
+ /** Whether this map draws surface tiles at all. False where no tile host is
1960
+ * set, and on a device short of memory: every body then shows its
1961
+ * whole-globe maps alone, and close up they go soft. */
1962
+ tilesEnabled(): boolean;
1963
+ /** Whether tiles sharpen `id`'s surface up close. False for a body without
1964
+ * a tile pyramid this embed may draw, one that is a shape model up close,
1965
+ * and one whose tiles the tile host has failed. Read from the body's own
1966
+ * data, so the answer does not wait for the camera to get there. */
1967
+ hasTiles(id: string): Promise<boolean>;
1959
1968
  /* Excluded from this release type: load */
1960
1969
  /* Excluded from this release type: open */
1961
1970
  private openOnce;