You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: folium/plugins/geocoder.py
+6-1
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ class Geocoder(JSCSSMixin, MacroElement):
19
19
Choose from 'topleft', 'topright', 'bottomleft' or 'bottomright'.
20
20
add_marker: bool, default True
21
21
If True, adds a marker on the found location.
22
+
geocode_zoom: int, default 11
23
+
Set zoom level used for displaying the geocode result, note that this only has an effect when add_marker is set to False. Set this to None to preserve the current map zoom level.
22
24
geocode_provider: str, default 'nominatim'
23
25
Defaults to "nominatim", see https://github.com/perliedman/leaflet-control-geocoder/tree/2.4.0/src/geocoders for other built-in providers.
24
26
geocode_provider_options: dict, default {}
@@ -45,7 +47,8 @@ class Geocoder(JSCSSMixin, MacroElement):
0 commit comments