diff --git a/code/boot.js b/code/boot.js index 22838c92..d9d4f884 100644 --- a/code/boot.js +++ b/code/boot.js @@ -242,6 +242,20 @@ window.setupMap = function() { // Remove the hidden layer after layerChooser built, to avoid messing up ordering of layers $.each(hiddenLayer, function(ind, layer){ map.removeLayer(layer); + + // as users often become confused if they accidentally switch a standard layer off, display a warning in this case + $('#portaldetails').html('
Warning: some of the standard layers are turned off. Some portals/links/fields will not be visible.
' + +'Enable standard layers' + +'