Class AppLayer
java.lang.Object
nl.b3p.tailormap.api.viewer.model.AppLayer
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.6.0")
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattribution(String attribution) autoRefreshInSeconds(Double autoRefreshInSeconds) description(String description) booleanAttribution text to show for this layer.Automatically refresh the layer (in seconds)Description text to show for this layer, may contain some links and images (see htmlify pipe)Whether this layer can be edited.@NotNull BooleanWhether this layer has attributes that can be accessed eg.Whether the layer should not be rendered in high DPI when available@Valid TileLayerHiDpiModeGet hiDpiModeThe 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 StringLayer name as known by the service.URL to an image with the layer legend.Maximum scale denominator at which this layer should be shown or is not blank.Maximum zoom for XYZ layerMinimum scale at which this layer should be shown or is not blank.Minimum zoom for XYZ layerThe opacity of the layer (in percentage, from 0-100, where 0 is \"transparent\" and 100 is \"opaque\").@NotNull StringGet serviceId@Valid BoundsGet tileGridExtentTile size for XYZ layerRequest a single tile for WMS (may result in errors when max size/mem exceeded)Gutter around tile to discard to avoid tile edge rendering artifacts@NotNull StringgetTitle()Layer title or display name.getUrl()URL for this specific layer.@NotNull BooleanGet visiblehasAttributes(Boolean hasAttributes) inthashCode()hiDpiDisabled(Boolean hiDpiDisabled) hiDpiMode(TileLayerHiDpiMode hiDpiMode) hiDpiSubstituteLayer(String hiDpiSubstituteLayer) legendImageUrl(String legendImageUrl) voidsetAttribution(String attribution) voidsetAutoRefreshInSeconds(Double autoRefreshInSeconds) voidsetDescription(String description) voidsetEditable(Boolean editable) voidsetHasAttributes(Boolean hasAttributes) voidsetHiDpiDisabled(Boolean hiDpiDisabled) voidsetHiDpiMode(TileLayerHiDpiMode hiDpiMode) voidsetHiDpiSubstituteLayer(String hiDpiSubstituteLayer) voidvoidsetLayerName(String layerName) voidsetLegendImageUrl(String legendImageUrl) voidsetMaxScale(Double maxScale) voidsetMaxZoom(Integer maxZoom) voidsetMinScale(Double minScale) voidsetMinZoom(Integer minZoom) voidsetOpacity(Integer opacity) voidsetServiceId(String serviceId) voidsetTileGridExtent(Bounds tileGridExtent) voidsetTileSize(Integer tileSize) voidsetTilingDisabled(Boolean tilingDisabled) voidsetTilingGutter(Integer tilingGutter) voidvoidvoidsetVisible(Boolean visible) tileGridExtent(Bounds tileGridExtent) tilingDisabled(Boolean tilingDisabled) tilingGutter(Integer tilingGutter) toString()
-
Constructor Details
-
AppLayer
public AppLayer()
-
-
Method Details
-
id
-
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
-
serviceId
-
getServiceId
Get serviceId- Returns:
- serviceId
-
setServiceId
-
layerName
-
getLayerName
Layer name as known by the service.- Returns:
- layerName
-
setLayerName
-
title
-
getTitle
Layer title or display name.- Returns:
- title
-
setTitle
-
url
-
getUrl
URL for this specific layer. If empty use URL from the service.- Returns:
- url
-
setUrl
-
visible
-
getVisible
Get visible- Returns:
- visible
-
setVisible
-
opacity
-
getOpacity
The opacity of the layer (in percentage, from 0-100, where 0 is \"transparent\" and 100 is \"opaque\").- Returns:
- opacity
-
setOpacity
-
minScale
-
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
-
maxScale
-
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
-
legendImageUrl
-
getLegendImageUrl
URL to an image with the layer legend.- Returns:
- legendImageUrl
-
setLegendImageUrl
-
tilingDisabled
-
getTilingDisabled
Request a single tile for WMS (may result in errors when max size/mem exceeded)- Returns:
- tilingDisabled
-
setTilingDisabled
-
tilingGutter
-
getTilingGutter
Gutter around tile to discard to avoid tile edge rendering artifacts- Returns:
- tilingGutter
-
setTilingGutter
-
hiDpiDisabled
-
getHiDpiDisabled
Whether the layer should not be rendered in high DPI when available- Returns:
- hiDpiDisabled
-
setHiDpiDisabled
-
hiDpiMode
-
getHiDpiMode
Get hiDpiMode- Returns:
- hiDpiMode
-
setHiDpiMode
-
hiDpiSubstituteLayer
-
getHiDpiSubstituteLayer
The layer name of this service to substitute when the device pixel ratio is higher- Returns:
- hiDpiSubstituteLayer
-
setHiDpiSubstituteLayer
-
minZoom
-
getMinZoom
Minimum zoom for XYZ layer- Returns:
- minZoom
-
setMinZoom
-
maxZoom
-
getMaxZoom
Maximum zoom for XYZ layer- Returns:
- maxZoom
-
setMaxZoom
-
tileSize
-
getTileSize
Tile size for XYZ layer- Returns:
- tileSize
-
setTileSize
-
tileGridExtent
-
getTileGridExtent
Get tileGridExtent- Returns:
- tileGridExtent
-
setTileGridExtent
-
hasAttributes
-
getHasAttributes
Whether this layer has attributes that can be accessed eg. for feature info or attribute list- Returns:
- hasAttributes
-
setHasAttributes
-
editable
-
getEditable
Whether this layer can be edited.- Returns:
- editable
-
setEditable
-
attribution
-
getAttribution
Attribution text to show for this layer.- Returns:
- attribution
-
setAttribution
-
description
-
getDescription
Description text to show for this layer, may contain some links and images (see htmlify pipe)- Returns:
- description
-
setDescription
-
autoRefreshInSeconds
-
getAutoRefreshInSeconds
Automatically refresh the layer (in seconds)- Returns:
- autoRefreshInSeconds
-
setAutoRefreshInSeconds
-
equals
-
hashCode
public int hashCode() -
toString
-