Questions tagged [folium-plugins]
9 questions
1
vote
0 answers
Folium TimestampedGeoJson Will Not Increment Exactly One Month
As the timeline increments, instead of following the dates values which are on day 1 of each month, the timeline moves from 11/1 to 11/30 and continues "off" the programmed dates until we hit 4/1/24.
I tried times in place of dates, no…

DADMODE1000
- 11
- 4
0
votes
0 answers
folium map with simple slider as stand alone html
I've got this basic folium map
import folium
from folium import plugins
m = folium.Map(
location=[51.5, -0.09],
zoom_start=11
)
m.save('map.html')
I want to add a slider on the bottom that changes the colour of the pins based on the time.…

user3324491
- 539
- 1
- 4
- 14
0
votes
0 answers
How do I create a simple folium map legend based on the marker colors and values?
I have a folium map with three different colored markers which are based on cluster_labels from three bins:
df['cluster_label'] = pd.cut(df['column1'], 3, retbins=True, labels=[0,1,2])[0]
colors = ['lightgray', 'orange', 'red']
How do I create a…

Dan
- 13
- 4
0
votes
0 answers
Add popups and custom marker colors to Folium's FastMarkerCluster using FeatureGroupSubGroups
Using folium in Python, I am trying to render 10K+ markers with associated tooltips and popups (popups are pngs converted to an Iframe). Markers/Popups are associated with specific FeatureGroupSubGroups for display purposes in the layer control and…

Jordan Schnell
- 21
- 2
0
votes
0 answers
Create Sliders for Folium Maps to dynamically update the map as the user moves the sliders
I am trying to create a folium choropleth with Python and add sliders that correspond to a weighting factor. As the user moves the slider the weighting is changed and the column df[col] is calculated. I have written the code below but I have two…

Bardia.Alavi
- 3
- 1
- 3
0
votes
0 answers
Full-screen button plugin in a Python Folium map: Closing full screen only works on second click
I created a map in Folium following the "Fullscreen" example in this notebook.
import folium
from folium import plugins
# Create the map.
map_ = folium.Map(location = [45, 3],
zoom_start =…

harry.kuril
- 103
- 5
0
votes
1 answer
Python Folium Drawing Polyline and adding metadata/attribute information
# Download the OSM map data for the bounding box
G = ox.graph_from_bbox(north, south, east, west, network_type='drive')
# Convert the graph to a GeoDataFrame
gdf = ox.graph_to_gdfs(G, nodes=False, edges=True)
# Create a folium map centered on…

lolgeswaran
- 3
- 1
0
votes
0 answers
How to add Search plugin in folium for multiple fields?
I'm trying to add a search bar in folium map using folium plugins.
Data:
import geopandas
states = geopandas.read_file(
"https://raw.githubusercontent.com/PublicaMundi/MappingAPI/master/data/geojson/us-states.json",
…

Ailurophile
- 2,552
- 7
- 21
- 46
-1
votes
1 answer
How to make a python folium interactive map with draggable legend and clickable items to zoom into the corresponding locations
I am trying to create an interactive map using python folium package. The feature I am looking for is, for a given list of locations, there are icons on the map, and a draggable legend (so that one can reposition the legend by dragging it using the…

Sam Sam
- 1