Py.Cafe

desilvarami/

world-map

Interactive World Map Viewer with Streamlit and Leafmap

DocsPricing
  • app.py
  • requirements.txt
app.py
1
2
3
4
5
6
7
import streamlit as st
import leafmap.foliumap as leafmap
m = leafmap.Map()
countries = 'https://raw.githubusercontent.com/desilvarami/opengeos-geospatial/master/data/world.geojson'
m.add_geojson(countries)
m.to_streamlit(height=370)