Commit 4c22928f authored by Christine Plumejeaud's avatar Christine Plumejeaud
Browse files

Set opacity to 1 for country layer, so that Silvia can't see names in the...

Set opacity to 1 for country layer, so that Silvia can't see names in the background. Change the background layer to Watercolor also.
parent 10c0aa3d
...@@ -75,7 +75,7 @@ def random_color(feature): ...@@ -75,7 +75,7 @@ def random_color(feature):
return { return {
'opacity': 1, 'opacity': 1,
'dashArray': '9', 'dashArray': '9',
'fillOpacity': 0.5, 'fillOpacity': 1,
'weight': 1, 'weight': 1,
'color': 'black', 'color': 'black',
'fillColor': '#%02x%02x%02x' % (feature['properties']['red'], feature['properties']['green'], feature['properties']['blue']), 'fillColor': '#%02x%02x%02x' % (feature['properties']['red'], feature['properties']['green'], feature['properties']['blue']),
...@@ -227,5 +227,5 @@ folium.LayerControl().add_to(m) ...@@ -227,5 +227,5 @@ folium.LayerControl().add_to(m)
m.add_child(folium.LatLngPopup()) m.add_child(folium.LatLngPopup())
##Export HTML ##Export HTML
#m.save("maps/index.html") m.save("maps/index.html")
m.save("index.html") #m.save("index.html")
\ No newline at end of file \ No newline at end of file
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