Class AppLayer
- java.lang.Object
-
- nl.b3p.tailormap.api.viewer.model.AppLayer
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class AppLayer extends Object implements SerializableA 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 Summary
Constructors Constructor Description AppLayer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppLayerattribution(String attribution)AppLayerdescription(String description)AppLayereditable(Boolean editable)booleanequals(Object o)StringgetAttribution()Attribution text to show for this layer.StringgetDescription()Description text to show for this layer, may contain some links and images (see htmlify pipe)BooleangetEditable()Whether this layer can be edited.@NotNull BooleangetHasAttributes()Whether this layer has attributes that can be accessed eg.BooleangetHiDpiDisabled()Whether the layer should not be rendered in high DPI when available@Valid TileLayerHiDpiModegetHiDpiMode()Get hiDpiModeStringgetHiDpiSubstituteLayer()The layer name of this service to substitute when the device pixel ratio is higher@NotNull StringgetId()Unique id of this layer reference in the application.@NotNull StringgetLayerName()Layer name as known by the service.StringgetLegendImageUrl()URL to an image with the layer legend.DoublegetMaxScale()Maximum scale denominator at which this layer should be shown or is not blank.IntegergetMaxZoom()Maximum zoom for XYZ layerDoublegetMinScale()Minimum scale at which this layer should be shown or is not blank.IntegergetMinZoom()Minimum zoom for XYZ layerIntegergetOpacity()The opacity of the layer (in percentage, from 0-100, where 0 is \"transparent\" and 100 is \"opaque\").@NotNull StringgetServiceId()Get serviceIdBooleangetTilingDisabled()Request a single tile for WMS (may result in errors when max size/mem exceeded)IntegergetTilingGutter()Gutter around tile to discard to avoid tile edge rendering artifacts@NotNull StringgetTitle()Layer title or display name.StringgetUrl()URL for this specific layer.@NotNull BooleangetVisible()Get visibleAppLayerhasAttributes(Boolean hasAttributes)inthashCode()AppLayerhiDpiDisabled(Boolean hiDpiDisabled)AppLayerhiDpiMode(TileLayerHiDpiMode hiDpiMode)AppLayerhiDpiSubstituteLayer(String hiDpiSubstituteLayer)AppLayerid(String id)AppLayerlayerName(String layerName)AppLayerlegendImageUrl(String legendImageUrl)AppLayermaxScale(Double maxScale)AppLayermaxZoom(Integer maxZoom)AppLayerminScale(Double minScale)AppLayerminZoom(Integer minZoom)AppLayeropacity(Integer opacity)AppLayerserviceId(String serviceId)voidsetAttribution(String attribution)voidsetDescription(String description)voidsetEditable(Boolean editable)voidsetHasAttributes(Boolean hasAttributes)voidsetHiDpiDisabled(Boolean hiDpiDisabled)voidsetHiDpiMode(TileLayerHiDpiMode hiDpiMode)voidsetHiDpiSubstituteLayer(String hiDpiSubstituteLayer)voidsetId(String id)voidsetLayerName(String layerName)voidsetLegendImageUrl(String legendImageUrl)voidsetMaxScale(Double maxScale)voidsetMaxZoom(Integer maxZoom)voidsetMinScale(Double minScale)voidsetMinZoom(Integer minZoom)voidsetOpacity(Integer opacity)voidsetServiceId(String serviceId)voidsetTilingDisabled(Boolean tilingDisabled)voidsetTilingGutter(Integer tilingGutter)voidsetTitle(String title)voidsetUrl(String url)voidsetVisible(Boolean visible)AppLayertilingDisabled(Boolean tilingDisabled)AppLayertilingGutter(Integer tilingGutter)AppLayertitle(String title)StringtoString()AppLayerurl(String url)AppLayervisible(Boolean visible)
-
-
-
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)
-
getLegendImageUrl
public String getLegendImageUrl()
URL to an image with the layer legend.- Returns:
- legendImageUrl
-
setLegendImageUrl
public void setLegendImageUrl(String legendImageUrl)
-
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)
-
hiDpiMode
public AppLayer hiDpiMode(TileLayerHiDpiMode hiDpiMode)
-
getHiDpiMode
@Valid public @Valid TileLayerHiDpiMode getHiDpiMode()
Get hiDpiMode- Returns:
- hiDpiMode
-
setHiDpiMode
public void setHiDpiMode(TileLayerHiDpiMode hiDpiMode)
-
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)
-
-