Interface OptionsLegendType

interface OptionsLegendType {
    label: {};
    params: {};
    showGroupsTitle: boolean;
    useBbox: boolean;
}

Properties

label: {}

The key is the server type (mapserver, qgis, ...), if the value is false the name of the layer will be not displayed. This is used to avoid duplicated title, as text and in the legend image.

Type declaration

    params: {}

    The key is the server type (mapserver, qgis, ...) or image for an URL from a metadata. The value is some additional parameters set in the query string.

    Type declaration

      showGroupsTitle: boolean

      Display or not groups title in the legend. default is true. Switching to false is useful to obtains a "flat" legend.

      useBbox: boolean

      Use or not the bbox. Default to true. For QGIS server only.

      Generated using TypeDoc