We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d17ccfd commit 22f3435Copy full SHA for 22f3435
folium/map.py
@@ -60,7 +60,7 @@
60
'https://rawgit.com/python-visualization/folium/master/folium/templates/leaflet.awesome.rotate.css'), # noqa
61
]
62
63
-def _format_lat_lon(values):
+def _validate_location(values):
64
"""Validates and formats location values before setting"""
65
if type(values) not in [list, tuple]:
66
raise TypeError("Location is not a list, expecting ex: location=[45.523, -122.675]")
@@ -74,6 +74,7 @@ def _format_lat_lon(values):
74
raise ValueError("Location values should be numeric, {} is not a number".format(val))
75
return values
76
77
+
78
class LegacyMap(MacroElement):
79
"""Create a Map with Folium and Leaflet.js
80
0 commit comments