Class MapResponse
- java.lang.Object
-
- nl.b3p.tailormap.api.viewer.model.MapResponse
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class MapResponse extends Object implements SerializableAny information needed to draw a basic map on a page. May include base layers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MapResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapResponseaddAppLayersItem(AppLayer appLayersItem)MapResponseaddBaseLayerTreeNodesItem(LayerTreeNode baseLayerTreeNodesItem)MapResponseaddLayerTreeNodesItem(LayerTreeNode layerTreeNodesItem)MapResponseaddServicesItem(Service servicesItem)MapResponseappLayers(List<@Valid AppLayer> appLayers)MapResponsebaseLayerTreeNodes(List<@Valid LayerTreeNode> baseLayerTreeNodes)MapResponsecrs(TMCoordinateReferenceSystem crs)booleanequals(Object o)@NotNull @Valid List<@Valid AppLayer>getAppLayers()Unordered list of all AppLayers referenced from baseLayerTreeNodes and layerTreeNodes.@NotNull @Valid List<@Valid LayerTreeNode>getBaseLayerTreeNodes()Unordered list of all tree nodes of base layers.@NotNull @Valid TMCoordinateReferenceSystemgetCrs()Get crs@NotNull @Valid BoundsgetInitialExtent()Get initialExtent@NotNull @Valid List<@Valid LayerTreeNode>getLayerTreeNodes()Unordered list of all tree nodes of overlay/thematic/transparent layers.@Valid BoundsgetMaxExtent()Get maxExtent@NotNull @Valid Set<@Valid Service>getServices()Get servicesinthashCode()MapResponseinitialExtent(Bounds initialExtent)MapResponselayerTreeNodes(List<@Valid LayerTreeNode> layerTreeNodes)MapResponsemaxExtent(Bounds maxExtent)MapResponseservices(Set<@Valid Service> services)voidsetAppLayers(List<@Valid AppLayer> appLayers)voidsetBaseLayerTreeNodes(List<@Valid LayerTreeNode> baseLayerTreeNodes)voidsetCrs(TMCoordinateReferenceSystem crs)voidsetInitialExtent(Bounds initialExtent)voidsetLayerTreeNodes(List<@Valid LayerTreeNode> layerTreeNodes)voidsetMaxExtent(Bounds maxExtent)voidsetServices(Set<@Valid Service> services)StringtoString()
-
-
-
Method Detail
-
initialExtent
public MapResponse initialExtent(Bounds initialExtent)
-
getInitialExtent
@NotNull @Valid public @NotNull @Valid Bounds getInitialExtent()
Get initialExtent- Returns:
- initialExtent
-
setInitialExtent
public void setInitialExtent(Bounds initialExtent)
-
maxExtent
public MapResponse maxExtent(Bounds maxExtent)
-
getMaxExtent
@Valid public @Valid Bounds getMaxExtent()
Get maxExtent- Returns:
- maxExtent
-
setMaxExtent
public void setMaxExtent(Bounds maxExtent)
-
services
public MapResponse services(Set<@Valid Service> services)
-
addServicesItem
public MapResponse addServicesItem(Service servicesItem)
-
getServices
@NotNull @Valid public @NotNull @Valid Set<@Valid Service> getServices()
Get services- Returns:
- services
-
baseLayerTreeNodes
public MapResponse baseLayerTreeNodes(List<@Valid LayerTreeNode> baseLayerTreeNodes)
-
addBaseLayerTreeNodesItem
public MapResponse addBaseLayerTreeNodesItem(LayerTreeNode baseLayerTreeNodesItem)
-
getBaseLayerTreeNodes
@NotNull @Valid public @NotNull @Valid List<@Valid LayerTreeNode> getBaseLayerTreeNodes()
Unordered list of all tree nodes of base layers. Start with the node with root set to true and use the ordered children array property to order the tree. For base layers, only one child node (with all its' child layers) of the root should be displayed at one time.- Returns:
- baseLayerTreeNodes
-
setBaseLayerTreeNodes
public void setBaseLayerTreeNodes(List<@Valid LayerTreeNode> baseLayerTreeNodes)
-
layerTreeNodes
public MapResponse layerTreeNodes(List<@Valid LayerTreeNode> layerTreeNodes)
-
addLayerTreeNodesItem
public MapResponse addLayerTreeNodesItem(LayerTreeNode layerTreeNodesItem)
-
getLayerTreeNodes
@NotNull @Valid public @NotNull @Valid List<@Valid LayerTreeNode> getLayerTreeNodes()
Unordered list of all tree nodes of overlay/thematic/transparent layers. Start with the node with root set to true and use the ordered children array property to order the tree.- Returns:
- layerTreeNodes
-
setLayerTreeNodes
public void setLayerTreeNodes(List<@Valid LayerTreeNode> layerTreeNodes)
-
appLayers
public MapResponse appLayers(List<@Valid AppLayer> appLayers)
-
addAppLayersItem
public MapResponse addAppLayersItem(AppLayer appLayersItem)
-
getAppLayers
@NotNull @Valid public @NotNull @Valid List<@Valid AppLayer> getAppLayers()
Unordered list of all AppLayers referenced from baseLayerTreeNodes and layerTreeNodes. Note that you need to lookup these by id, but OpenAPI only supports a map by using strings as keys, so an array is used instead.- Returns:
- appLayers
-
crs
public MapResponse crs(TMCoordinateReferenceSystem crs)
-
getCrs
@NotNull @Valid public @NotNull @Valid TMCoordinateReferenceSystem getCrs()
Get crs- Returns:
- crs
-
setCrs
public void setCrs(TMCoordinateReferenceSystem crs)
-
-