Commit 10c0aa3d authored by Christine Plumejeaud's avatar Christine Plumejeaud
Browse files

set UTF8 encodings for data (geosjon files) and test the watercolor background...

set UTF8 encodings for data (geosjon files) and test the watercolor background layer. Save the config of a Kepler project and the generated HTML map to display on the Web.
parent e1351b3d
......@@ -83,8 +83,9 @@ def random_color(feature):
}
#, tiles="Stamen Terrain",
m = folium.Map(location=[46.1722, -1.1481],zoom_start=6, tiles="Stamen Terrain", height='80%', top='0.0%', crs='EPSG3857')
m = folium.Map(location=[46.1722, -1.1481],zoom_start=6, tiles="Stamen Watercolor", height='80%', top='0.0%', crs='EPSG3857')
texte="<h1>Mapping the maritime world of 1789</h1>"
""" <h1>Mapping the maritime world of 1789</h1>
<ul>
......@@ -226,4 +227,5 @@ folium.LayerControl().add_to(m)
m.add_child(folium.LatLngPopup())
##Export HTML
m.save("maps/index.html")
\ No newline at end of file
#m.save("maps/index.html")
m.save("index.html")
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment