aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--resources/map.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/map.js b/resources/map.js
index 2896fad..d98cc87 100644
--- a/resources/map.js
+++ b/resources/map.js
@@ -12,6 +12,8 @@ $(document).ready(function() {
L.control.layers(null, {
"Hospitals" : self.hospitalLayer
}).addTo(map);
+ // display layer
+ $('.leaflet-control-layers-selector').first().trigger('click')
}
$('body').bind('hospitalsfetched', addHospitalLayer);