Display GeoJsonTooltip at a pinned position
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, python
- Domain
- data-visualization, frontend
Research direction
Start with folium.features.GeoJsonTooltip and compare the linked Leaflet choropleth example. Determine whether pinned positioning requires a Python API change, generated map behavior, or documentation; done means a supported and documented way to place the tooltip at a fixed window position.
Written by the indexing model from the issue text.
Description
Hi, I'm facing an issue and I can't find any help on your documentation. My probem is simple, I want a tooltip that displays my informations and giving it a pinned position within the window, let's say top right corner. How can I achieve that?
For instance I want to reproduce this map (1st one): https://leafletjs.com/examples/choropleth/
Thank you!
### Add a tooltip (hover mode) to the choropleth
choropleth_instance.geojson.add_child(
folium.features.GeoJsonTooltip(
fields = ['name', 'data1', 'days'],
aliases=['Lon / Lat:', 'Data 1:', 'Days:'],
sticky=False)
)
Version: 0.12.1
- Dominant language
- Python
- Stars
- 7.4k
- Forks
- 2.3k
- Avg merge
- 17h 22m
- Merged PRs (30d)
- 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from python-visualization/folium
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
python-visualization/folium#2092 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 67/100
python-visualization/folium#2278 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
python-visualization/folium#2259 ·
-
Map output from OSM returns blocked tiles, due to defective request or not following referer-policy Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
python-visualization/folium#2236 · 5 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
python-visualization/folium#2219 · 2 comments ·
All issues in python-visualization/folium
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
canonical/paas-charm#368 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
StevenBlack/hosts#3256 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
qualcomm/qai-appbuilder#275 ·