()
| 79 | |
| 80 | |
| 81 | def test_marker_popups(): |
| 82 | m = Map() |
| 83 | folium.Marker([45, -180], popup="-180").add_to(m) |
| 84 | folium.Marker([45, -120], popup=Popup("-120")).add_to(m) |
| 85 | folium.RegularPolygonMarker([45, -60], popup="-60").add_to(m) |
| 86 | folium.RegularPolygonMarker([45, 0], popup=Popup("0")).add_to(m) |
| 87 | folium.CircleMarker([45, 60], popup="60").add_to(m) |
| 88 | folium.CircleMarker([45, 120], popup=Popup("120")).add_to(m) |
| 89 | folium.CircleMarker([45, 90], popup=Popup("90"), weight=0).add_to(m) |
| 90 | m._repr_html_() |
| 91 | |
| 92 | bounds = m.get_bounds() |
| 93 | assert bounds == [[45, -180], [45, 120]], bounds |
| 94 | |
| 95 | |
| 96 | # DivIcon. |
nothing calls this directly
no test coverage detected