Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click for latlng #1530

Merged
merged 5 commits into from
May 5, 2022
Merged

Conversation

BibMartin
Copy link
Contributor

Based on frequently asked questions in #520 , it seems useful to add a feature that enable to save a point coordinates into the browser clipboard. If you want to get the coordinates back into python, you can do it with import clipboard and clipboard.paste() (See example).

Copy link
Member

@Conengmo Conengmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Martin, looks good! I'll give the code a try before merging it.

@LinYouMin
Copy link

Please advise if this 'ClickForLatLng' feature been released?

folium version:
folium 0.12.1.post1 pyhd8ed1ab_1 conda-forge

% from folium.features import ClickForLatLng, ClickForMarker, LatLngPopup
Error Message:

ImportError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_24180/2591015775.py in
----> 1 from folium.features import ClickForLatLng, ClickForMarker, LatLngPopup

ImportError: cannot import name 'ClickForLatLng' from 'folium.features' (C:\Users\YM\miniconda3\envs\pyqt2\lib\site-packages\folium\features.py)

@Conengmo Conengmo merged commit 33bbe9e into python-visualization:main May 5, 2022
@BibMartin BibMartin deleted the click-for-latlng-2 branch May 13, 2022 07:05
@TheOther-Guy
Copy link

this feature won't be back anytime soon? if not any alternative?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants