JupyterLite deployed as a static site to GitHub Pages, for demo purposes.
➡️ https://github.com/giswqs/leafmap-jupyterlite
Install leafmap for JupyterLite using:
%pip install -q leafmap
Alternatively, you can install leafmap using piplite:
import piplite
await piplite.install('leafmap')
To install GeoPandas, you can use:
import piplite
await piplite.install(['geopandas', 'shapely', 'pyproj'], deps=False)
To clear local storage and sync with the latest version of JupyterLite site on GitHub, you can use:
Chrome Settings -> More tools -> Developer tools -> Application -> Storage -> IndexedDB -> JupyterLite Storage -> Right click files -> Clear
Then press F5 to refresh the page.