Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
5e63bbd
1
Parent(s):
81451ff
Update app.py
Browse files
app.py
CHANGED
@@ -323,10 +323,11 @@ with st.container():
|
|
323 |
folium_layermap = folium.Map(location=[custom_lat, custom_lon], zoom_start=12, tiles='Stamen Toner')
|
324 |
|
325 |
# Add grayscale tiles from OpenStreetMap
|
326 |
-
folium.TileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth/{z}/{x}/{y}{r}.png',
|
327 |
-
attr='
|
328 |
name='grayscale').add_to(folium_layermap)
|
329 |
|
|
|
330 |
# Add heatmap layers for 'Valor_Urb', 'Valor_Eqp', and 'RENDA'
|
331 |
add_heatmap_layer(folium_layermap, filtered_data, 'Valor_Urb', 'RdBu_r')
|
332 |
add_heatmap_layer(folium_layermap, filtered_data, 'Valor_Eqp', 'RdBu_r')
|
|
|
323 |
folium_layermap = folium.Map(location=[custom_lat, custom_lon], zoom_start=12, tiles='Stamen Toner')
|
324 |
|
325 |
# Add grayscale tiles from OpenStreetMap
|
326 |
+
folium.TileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth/{z}/{x}/{y}{r}.png',
|
327 |
+
attr='© <a href="https://stadiamaps.com/">Stadia Maps</a>, © <a href="https://openmaptiles.org/">OpenMapTiles</a> © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors',
|
328 |
name='grayscale').add_to(folium_layermap)
|
329 |
|
330 |
+
|
331 |
# Add heatmap layers for 'Valor_Urb', 'Valor_Eqp', and 'RENDA'
|
332 |
add_heatmap_layer(folium_layermap, filtered_data, 'Valor_Urb', 'RdBu_r')
|
333 |
add_heatmap_layer(folium_layermap, filtered_data, 'Valor_Eqp', 'RdBu_r')
|