Skip to content

giswqs/leafmap-jupyterlite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JupyterLite Demo

lite-badge

JupyterLite deployed as a static site to GitHub Pages, for demo purposes.

✨ Try it in your browser ✨

➡️ https://demo.leafmap.org

Repository

➡️ https://github.com/giswqs/leafmap-jupyterlite

Usage

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)

How to get an updated version of JupyterLite

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.