Skip to content

ClickForLatLng() is not implemented even if PR #1530 #1616

@eabase

Description

@eabase

Describe the bug
The folium.ClickForLatLng() functionality seem to be missing.

AttributeError: module 'folium' has no attribute 'ClickForLatLng'. Did you mean: 'ClickForMarker'?

To Reproduce

# ...
m = folium.Map(MC, zoom_start=15, max_zoom=21, control_scale=True, tiles='cartodb positron')
folium.ClickForLatLng().add_to(m)

Expected behavior
expect it to copy to clipboard

Environment (please complete the following information):

# python.exe -c "import folium; print(folium.__version__)"
0.12.1.post1
# python.exe -c "import branca; print(branca.__version__)"
0.5.0
# python.exe -c "import sys; print(sys.version_info)"
sys.version_info(major=3, minor=10, micro=3, releaselevel='final', serial=0)

Other

Should be working from PR #1530.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue describing unexpected or malicious behaviour

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions