fschwartzer commited on
Commit
3f9638f
1 Parent(s): dd920bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -21
app.py CHANGED
@@ -305,27 +305,6 @@ with st.container():
305
  # Use st.empty() to create a placeholder and update it with the link
306
  download_placeholder = st.empty()
307
  download_placeholder.markdown(href, unsafe_allow_html=True)
308
-
309
-
310
- def add_heatmap_layer(folium_layermap, data, column, colormap):
311
- heatmap_layer = folium.plugins.HeatMap(data=data[['latitude', 'longitude', column]],
312
- min_opacity=0.5,
313
- max_zoom=18,
314
- radius=25, blur=15,
315
- gradient=None,
316
- overlay=True,
317
- control=True,
318
- show=True,
319
- colormap=colormap)
320
- folium_layermap.add_child(heatmap_layer)
321
-
322
- # Create a Folium map centered on a specific location
323
- folium_layermap = folium.Map(location=[custom_lat, custom_lon], zoom_start=12)
324
-
325
- # Add grayscale tiles from OpenStreetMap
326
- folium.TileLayer('https://tiles.stadiamaps.com/tiles/alidade_smooth/{z}/{x}/{y}{r}.png',
327
- attr='&copy; <a href="https://stadiamaps.com/">Stadia Maps</a>, &copy; <a href="https://openmaptiles.org/">OpenMapTiles</a> &copy; <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'
 
305
  # Use st.empty() to create a placeholder and update it with the link
306
  download_placeholder = st.empty()
307
  download_placeholder.markdown(href, unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
308
 
309
 
310
  # Add heatmap layers for 'Valor_Urb', 'Valor_Eqp', and 'RENDA'