This commit is contained in:
Carifio24 2024-04-18 18:27:27 -04:00
Родитель 2c7377bd1f
Коммит 428bf3975f
2 изменённых файлов: 11 добавлений и 1 удалений

Просмотреть файл

@ -5,7 +5,7 @@
},
"dependencies": {
"@jupyter-widgets/base": "^2 || ^3 || ^4 || ^5 || ^6",
"@wwtelescope/research-app": "^0.16.0",
"@wwtelescope/research-app": "^0.17.0",
"underscore": "^1"
},
"description": "WorldWide Telescope from Python",

Просмотреть файл

@ -1372,3 +1372,13 @@ class BaseWWTWidget(HasTraits):
def _save_added_data(self, dir):
self.layers._save_all_data_for_serialization(dir)
# Miscellaneous
def refresh_tile_cache(self):
"""
Clear the current cache of tiles.
Note that this should only be used when necessary, as any
previously downloaded tiles will need to be re-fetched.
"""
self._send_msg(event="clear_tile_cache")