Package org.tailormap.api.viewer.model
Class AppLayer
java.lang.Object
org.tailormap.api.viewer.model.AppLayer
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.10.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
-
Method Summary
Modifier and TypeMethodDescriptionattribution
(String attribution) autoRefreshInSeconds
(Double autoRefreshInSeconds) description
(String description) boolean
Attribution 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 Boolean
Whether this layer has attributes that can be accessed eg. for feature info or attribute listSet to true to *not* render in high DPI when available@Valid TileLayerHiDpiMode
Get hiDpiModeThe layer name of this service to substitute when the device pixel ratio is higher@NotNull String
getId()
Unique id of this layer reference in the application.@NotNull String
Layer 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\").@Valid LayerSearchIndex
Get searchIndex@NotNull String
Get serviceId@Valid Bounds
Get tileGridExtentTile size for XYZ layerSet to true to request 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 String
getTitle()
Layer title or display name.getUrl()
URL for this specific layer.@NotNull Boolean
Get visiblehasAttributes
(Boolean hasAttributes) int
hashCode()
hiDpiDisabled
(Boolean hiDpiDisabled) hiDpiMode
(TileLayerHiDpiMode hiDpiMode) hiDpiSubstituteLayer
(String hiDpiSubstituteLayer) legendImageUrl
(String legendImageUrl) searchIndex
(LayerSearchIndex searchIndex) void
setAttribution
(String attribution) void
setAutoRefreshInSeconds
(Double autoRefreshInSeconds) void
setDescription
(String description) void
setEditable
(Boolean editable) void
setHasAttributes
(Boolean hasAttributes) void
setHiDpiDisabled
(Boolean hiDpiDisabled) void
setHiDpiMode
(TileLayerHiDpiMode hiDpiMode) void
setHiDpiSubstituteLayer
(String hiDpiSubstituteLayer) void
void
setLayerName
(String layerName) void
setLegendImageUrl
(String legendImageUrl) void
setMaxScale
(Double maxScale) void
setMaxZoom
(Integer maxZoom) void
setMinScale
(Double minScale) void
setMinZoom
(Integer minZoom) void
setOpacity
(Integer opacity) void
setSearchIndex
(LayerSearchIndex searchIndex) void
setServiceId
(String serviceId) void
setTileGridExtent
(Bounds tileGridExtent) void
setTileSize
(Integer tileSize) void
setTilingDisabled
(Boolean tilingDisabled) void
setTilingGutter
(Integer tilingGutter) void
void
void
setVisible
(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
Set to true to 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
Set to true to *not* render 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
-
searchIndex
-
getSearchIndex
Get searchIndex- Returns:
- searchIndex
-
setSearchIndex
-
equals
-
hashCode
public int hashCode() -
toString
-