Skip to content

Commit 382bc37

Browse files
authored
Merge pull request #75 from ecmwf/feature/allow_map_zoom_control
Feature/allow map zoom control
2 parents 9e526c5 + 08fdda3 commit 382bc37

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/hpc-module.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
if [ $MODULE_TAG != 'NOT_DEFINED' ]
4747
then
48-
modulemgr -f -m all tag -o hat $MODULE_VERSION $MODULE_TAG
48+
modulemgr -f -m aa,ab,ac,ad tag -o hat $MODULE_VERSION $MODULE_TAG
4949
fi
5050
5151
sbatch_options: |

hat/interactive/leaflet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def add_geolayer(
125125
station_id_colname="station_id",
126126
name="Stations",
127127
property_names=None,
128+
fit_map=True,
128129
# cluster=False
129130
):
130131
"""
@@ -196,7 +197,7 @@ def update_widgets_from_click(*args, **kwargs):
196197
geojson.on_hover(self.create_hover(widgets, property_names=property_names))
197198
self.map.add(geojson)
198199

199-
if coord_names is not None:
200+
if coord_names is not None and fit_map:
200201
self._set_default_boundaries(geodata, coord_names)
201202

202203
# Add the legend to the map

0 commit comments

Comments
 (0)