Class AppLayer

  • All Implemented Interfaces:
    Serializable

    @Generated("org.openapitools.codegen.languages.SpringCodegen")
    public class AppLayer
    extends Object
    implements Serializable
    A map layer, but only enough information to draw the layer. For advanced functionality that required access to attributes the LayerDetails should be requested.
    See Also:
    Serialized Form
    • Constructor Detail

      • AppLayer

        public AppLayer()
    • Method Detail

      • getId

        @NotNull
        public @NotNull String getId()
        Unique id of this layer reference in the application. Another app layer may exist which references the same layerName of the same service, but with different settings.
        Returns:
        id
      • setId

        public void setId​(String id)
      • getServiceId

        @NotNull
        public @NotNull String getServiceId()
        Get serviceId
        Returns:
        serviceId
      • setServiceId

        public void setServiceId​(String serviceId)
      • getLayerName

        @NotNull
        public @NotNull String getLayerName()
        Layer name as known by the service.
        Returns:
        layerName
      • setLayerName

        public void setLayerName​(String layerName)
      • getTitle

        @NotNull
        public @NotNull String getTitle()
        Layer title or display name.
        Returns:
        title
      • setTitle

        public void setTitle​(String title)
      • getUrl

        public String getUrl()
        URL for this specific layer. If empty use URL from the service.
        Returns:
        url
      • setUrl

        public void setUrl​(String url)
      • getVisible

        @NotNull
        public @NotNull Boolean getVisible()
        Get visible
        Returns:
        visible
      • setVisible

        public void setVisible​(Boolean visible)
      • getOpacity

        public Integer getOpacity()
        The opacity of the layer (in percentage, from 0-100, where 0 is \"transparent\" and 100 is \"opaque\").
        Returns:
        opacity
      • setOpacity

        public void setOpacity​(Integer opacity)
      • getMinScale

        public Double getMinScale()
        Minimum scale at which this layer should be shown or is not blank. When absent there is no minimum. As reported by the service (ScaleHint or MinScaleDenominator).
        Returns:
        minScale
      • setMinScale

        public void setMinScale​(Double minScale)
      • getMaxScale

        public Double getMaxScale()
        Maximum scale denominator at which this layer should be shown or is not blank. When absent there is no maximum. As reported by the service (ScaleHint or MaxScaleDenominator).
        Returns:
        maxScale
      • setMaxScale

        public void setMaxScale​(Double maxScale)
      • legendImageUrl

        public AppLayer legendImageUrl​(String legendImageUrl)
      • getLegendImageUrl

        public String getLegendImageUrl()
        URL to an image with the layer legend.
        Returns:
        legendImageUrl
      • setLegendImageUrl

        public void setLegendImageUrl​(String legendImageUrl)
      • tilingDisabled

        public AppLayer tilingDisabled​(Boolean tilingDisabled)
      • getTilingDisabled

        public Boolean getTilingDisabled()
        Request a single tile for WMS (may result in errors when max size/mem exceeded)
        Returns:
        tilingDisabled
      • setTilingDisabled

        public void setTilingDisabled​(Boolean tilingDisabled)
      • getTilingGutter

        public Integer getTilingGutter()
        Gutter around tile to discard to avoid tile edge rendering artifacts
        Returns:
        tilingGutter
      • setTilingGutter

        public void setTilingGutter​(Integer tilingGutter)
      • getHiDpiDisabled

        public Boolean getHiDpiDisabled()
        Whether the layer should not be rendered in high DPI when available
        Returns:
        hiDpiDisabled
      • setHiDpiDisabled

        public void setHiDpiDisabled​(Boolean hiDpiDisabled)
      • getHiDpiMode

        @Valid
        public @Valid TileLayerHiDpiMode getHiDpiMode()
        Get hiDpiMode
        Returns:
        hiDpiMode
      • hiDpiSubstituteLayer

        public AppLayer hiDpiSubstituteLayer​(String hiDpiSubstituteLayer)
      • getHiDpiSubstituteLayer

        public String getHiDpiSubstituteLayer()
        The layer name of this service to substitute when the device pixel ratio is higher
        Returns:
        hiDpiSubstituteLayer
      • setHiDpiSubstituteLayer

        public void setHiDpiSubstituteLayer​(String hiDpiSubstituteLayer)
      • getMinZoom

        public Integer getMinZoom()
        Minimum zoom for XYZ layer
        Returns:
        minZoom
      • setMinZoom

        public void setMinZoom​(Integer minZoom)
      • getMaxZoom

        public Integer getMaxZoom()
        Maximum zoom for XYZ layer
        Returns:
        maxZoom
      • setMaxZoom

        public void setMaxZoom​(Integer maxZoom)
      • getHasAttributes

        @NotNull
        public @NotNull Boolean getHasAttributes()
        Whether this layer has attributes that can be accessed eg. for feature info or attribute list
        Returns:
        hasAttributes
      • setHasAttributes

        public void setHasAttributes​(Boolean hasAttributes)
      • getEditable

        public Boolean getEditable()
        Whether this layer can be edited.
        Returns:
        editable
      • setEditable

        public void setEditable​(Boolean editable)
      • getAttribution

        public String getAttribution()
        Attribution text to show for this layer.
        Returns:
        attribution
      • setAttribution

        public void setAttribution​(String attribution)
      • getDescription

        public String getDescription()
        Description text to show for this layer, may contain some links and images (see htmlify pipe)
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object