import folium
-
-# 创建地图,以学校的坐标为中心
-map = folium.Map(location=[49.2554, 7.0419], zoom_start=14)
-
-# 添加标记
-
- folium.Marker(=[49.2600, 7.0450],
- location=folium.Popup(html='<a href="dorm1.html">Dormitory 1</a>', max_width=200),
- popup='Click for more information'
- tooltipmap)
- ).add_to(
-
- folium.Marker(=[49.2550, 7.0400],
- location=folium.Popup(html='<a href="dorm2.html">Dormitory 2</a>', max_width=200),
- popup='Click for more information'
- tooltipmap)
- ).add_to(
-# 显示地图
-map
-
-
-Make this Notebook Trusted to load map: File -> Trust Notebook