오지's blog

folium popup size 수정하는 방법 본문

개발노트/Python

folium popup size 수정하는 방법

오지구영ojjy90 2021. 3. 21. 01:52
728x90
반응형

stackoverflow.com/questions/63152298/updating-folium-changed-the-popup-box-width

 

Updating folium changed the Popup box width

Recently I updated folium from 0.5.0 to 0.11.0 and thereafter I am experiencing a problem with the popup box. With the update the popup box seem to have shrinked in width and the text is coming in

stackoverflow.com

 

 

 

iframe = location_name+ ":<br> "+ addr
popup = folium.Popup(iframe, min_width=200, max_width=200)

Marker(location=[addr_lat, addr_lon], popup=popup, tooltip=location_name, icon=Icon(color='green', icon='flag')).add_to(m)

Comments