Interface LayerSelectionHandler

    • Method Detail

      • layerSelected

        void layerSelected​(String wmsUrl,
                           String layerId,
                           boolean autoZoomAndPalette)
        Called when a layer is selected
        Parameters:
        wmsUrl - The WMS URL where the layer is present
        layerId - The ID of the layer on the WMS server
        autoZoomAndPalette - Whether we want to automatically zoom to the layer extents and adjust the palette. Note that the palette will not be adjusted if a range has been set on the server
      • layerDeselected

        void layerDeselected​(String layerId)
        Called when a layer is deselected. This is only likely to happen on multi-layer systems TODO perhaps this will need a wmsUrl to uniquely locate the layer? Currently we have no multi-layer systems on which to test this, so it's not really important. This comment should be removed when one gets implemented
        Parameters:
        layerId - The ID of the layer which has been deselected
      • refreshLayerList

        void refreshLayerList()
        Called when the user would like the list of layers to be refreshed