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.20.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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether the legend is a static image or a dynamic WMS legend. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHiddenFunctionalityItem(HiddenLayerFunctionalityEnum hiddenFunctionalityItem) addStylesItem(WMSStyle stylesItem) attribution(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. for feature info or attribute list@Valid Set<HiddenLayerFunctionalityEnum> Functionality that should be hidden for a layer in the UI.Set to true to *not* render 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.Whether the legend is a static image or a dynamic WMS 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 LayerSearchIndexGet searchIndex@NotNull StringGet serviceIdConfigured WMS styles for this layer, if any.@Valid BoundsGet tileGridExtentThe tileset style to use for this layerTile 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 StringgetTitle()Layer title or display name.getUrl()URL for this specific layer.@NotNull BooleanGet visibleWhether Web Mercator projection is available for this layer.hasAttributes(Boolean hasAttributes) inthashCode()hiddenFunctionality(Set<HiddenLayerFunctionalityEnum> hiddenFunctionality) hiDpiDisabled(Boolean hiDpiDisabled) hiDpiMode(TileLayerHiDpiMode hiDpiMode) hiDpiSubstituteLayer(String hiDpiSubstituteLayer) legendImageUrl(String legendImageUrl) legendType(AppLayer.LegendTypeEnum legendType) searchIndex(LayerSearchIndex searchIndex) voidsetAttribution(String attribution) voidsetAutoRefreshInSeconds(Double autoRefreshInSeconds) voidsetDescription(String description) voidsetEditable(Boolean editable) voidsetHasAttributes(Boolean hasAttributes) voidsetHiddenFunctionality(Set<HiddenLayerFunctionalityEnum> hiddenFunctionality) voidsetHiDpiDisabled(Boolean hiDpiDisabled) voidsetHiDpiMode(TileLayerHiDpiMode hiDpiMode) voidsetHiDpiSubstituteLayer(String hiDpiSubstituteLayer) voidvoidsetLayerName(String layerName) voidsetLegendImageUrl(String legendImageUrl) voidsetLegendType(AppLayer.LegendTypeEnum legendType) voidsetMaxScale(Double maxScale) voidsetMaxZoom(Integer maxZoom) voidsetMinScale(Double minScale) voidsetMinZoom(Integer minZoom) voidsetOpacity(Integer opacity) voidsetSearchIndex(LayerSearchIndex searchIndex) voidsetServiceId(String serviceId) voidvoidsetTileGridExtent(Bounds tileGridExtent) voidsetTileset3dStyle(Object tileset3dStyle) voidsetTileSize(Integer tileSize) voidsetTilingDisabled(Boolean tilingDisabled) voidsetTilingGutter(Integer tilingGutter) voidvoidvoidsetVisible(Boolean visible) voidsetWebMercatorAvailable(Boolean webMercatorAvailable) tileGridExtent(Bounds tileGridExtent) tileset3dStyle(Object tileset3dStyle) tilingDisabled(Boolean tilingDisabled) tilingGutter(Integer tilingGutter) toString()webMercatorAvailable(Boolean webMercatorAvailable)
-
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
-
setServiceId
-
layerName
-
getLayerName
Layer name as known by the service.- Returns:
- layerName
-
setLayerName
-
title
-
getTitle
-
setTitle
-
url
-
getUrl
-
setUrl
-
visible
-
getVisible
-
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
-
setLegendImageUrl
-
legendType
-
getLegendType
Whether the legend is a static image or a dynamic WMS legend.- Returns:
- legendType
-
setLegendType
-
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
-
setHiDpiMode
-
hiDpiSubstituteLayer
-
getHiDpiSubstituteLayer
The layer name of this service to substitute when the device pixel ratio is higher- Returns:
- hiDpiSubstituteLayer
-
setHiDpiSubstituteLayer
-
minZoom
-
getMinZoom
-
setMinZoom
-
maxZoom
-
getMaxZoom
-
setMaxZoom
-
tileSize
-
getTileSize
-
setTileSize
-
tileGridExtent
-
getTileGridExtent
-
setTileGridExtent
-
hasAttributes
-
getHasAttributes
Whether this layer has attributes that can be accessed eg. for feature info or attribute list- Returns:
- hasAttributes
-
setHasAttributes
-
editable
-
getEditable
-
setEditable
-
attribution
-
getAttribution
-
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
-
setSearchIndex
-
webMercatorAvailable
-
getWebMercatorAvailable
Whether Web Mercator projection is available for this layer.- Returns:
- webMercatorAvailable
-
setWebMercatorAvailable
-
tileset3dStyle
-
getTileset3dStyle
-
setTileset3dStyle
-
addHiddenFunctionalityItem
-
getHiddenFunctionality
Functionality that should be hidden for a layer in the UI. The functionality is still available in the backend, so not a \"security\" setting.- Returns:
- hiddenFunctionality
-
setHiddenFunctionality
-
styles
-
addStylesItem
-
getStyles
-
setStyles
-
equals
-
hashCode
-
toString
-