Created
May 18, 2024 11:52
-
-
Save joaofig/656552cfbcbf7eeed98f43deef50beb3 to your computer and use it in GitHub Desktop.
Creates and displays the VED density map on a Jupyter Notebook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import folium | |
from folium.raster_layers import TileLayer | |
html_map = folium.Map(prefer_canvas=True, | |
tiles="cartodbpositron", | |
location=(42.274569, -83.733228), | |
zoom_start=13) | |
tile_layer = TileLayer(tiles="http://127.0.0.1:8000/density/{x}/{y}/{z}", overlay=True, | |
attr="(C) JPF") | |
tile_layer.add_to(html_map) | |
html_map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment