Skip to content

Commit

Permalink
Return map center (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackary authored May 31, 2022
1 parent f4f3bde commit b5d7998
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setuptools.setup(
name="streamlit_folium",
version="0.6.12",
version="0.6.13",
author="Randy Zwitch",
author_email="[email protected]",
description="Render Folium objects in Streamlit",
Expand Down
1 change: 1 addition & 0 deletions streamlit_folium/frontend/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function updateComponentValue(map: any) {
zoom: zoom,
last_circle_radius: global_data.last_circle_radius,
last_circle_polygon: global_data.last_circle_polygon,
center: map.getCenter(),
})
}

Expand Down

0 comments on commit b5d7998

Please sign in to comment.