We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62694cb + 382bc37 commit f6ff58aCopy full SHA for f6ff58a
1 file changed
hat/interactive/leaflet.py
@@ -125,6 +125,7 @@ def add_geolayer(
125
station_id_colname="station_id",
126
name="Stations",
127
property_names=None,
128
+ fit_map=True,
129
# cluster=False
130
):
131
"""
@@ -196,7 +197,7 @@ def update_widgets_from_click(*args, **kwargs):
196
197
geojson.on_hover(self.create_hover(widgets, property_names=property_names))
198
self.map.add(geojson)
199
- if coord_names is not None:
200
+ if coord_names is not None and fit_map:
201
self._set_default_boundaries(geodata, coord_names)
202
203
# Add the legend to the map
0 commit comments