import folium
f = folium.Figure(width = 1000, height = 500)
location_address = [37.554672529629734 , 126.97059786609721] # [latitude, longitude]
my_map = folium.Map(location = location_address, zoom_start = 18).add_to(f)
marker_style0 = folium.Marker(location = location_address,
popup = "Seoul station",
icon = folium.Icon(color = "blue"))
marker_style0.add_to(my_map)
marker_style1 = folium.CircleMarker(location = location_address,
radius = 100,
color = "skyblue",
fill_color = "skyblue",
popup = "my house")
marker_style1.add_to(my_map)
my_map
Output
※ 위도, 경도 값을 손쉽게 확인할 수 있는 사이트 주소 예
https://apis.map.kakao.com/web/sample/addMapClickEventWithMarker/
No comments:
Post a Comment