23 questions
0
votes
0
answers
53
views
Populate folium TimestampedGeoJson features using lambda functions?
I am following some code examples to plot time aware coordinates on a folium map using the folium.plugins.TimestampedGeoJson method. As in the example, I'm using a for-loop to tie coordinates and ...
0
votes
1
answer
60
views
How serve JS locally with folium JSCSSMixin class?
I have modified ja/css of Leaflet.Measure plugin, and I want to use them in folium.
So, I took https://github.com/python-visualization/folium/blob/main/folium/plugins/measure_control.py as an example:
...
0
votes
1
answer
87
views
Python folium.raster_layers.VideoOverlay() video not filling bounding box
I'm trying to overlay an mp4 video onto a folium map using
folium.raster_layers.VideoOverlay(). The result is a video I call DyeVideo.html. However, the image doesn't appear in the
bounding box on ...
1
vote
0
answers
146
views
Folium filter markers dynamically by property
I have the following code to draw circles at different locations, using Folium:
import folium
data = [
{"lat": 37.7749, "lon": -122.4194, "value": 10, "name&...
0
votes
0
answers
52
views
How to get the values of Draw plugin objects?
I created an algorithm in Python that displays a web page with a map using the folium library and several markers based on the coordinates I entered into a spreadsheet. I inserted the Draw Plugin to ...
0
votes
0
answers
317
views
Looping layers in Folium layer control, but it only adds one
I've been trying to fix this for a while, but with no luck. I succesfully managed to make it with 2 layers, but as soon I use a for loop it doesn't work anymore. So far switching the colormap bar ...
-1
votes
1
answer
87
views
Issue with Displaying Different Colors for Multiple Livestock in Streamlit-Folium
I'm currently applying a map visualization app using Streamlit and Folium.
I'm trying to display multiple livestock (chicken, pig, cow) on the map, each with a different color. However, I'm facing an ...
1
vote
1
answer
553
views
Number inside Folium marker - Geopandas explore
i want to add numbers inside folium markers based on one column in geodataframe.
Im expecting something like this Folium marker with number
In thispost they implemented it using BeautifyIcon.
Im using ...
0
votes
0
answers
403
views
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 ...
0
votes
0
answers
1k
views
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. ...
-1
votes
1
answer
874
views
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 ...
0
votes
1
answer
650
views
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/...