Package org.tailormap.api.viewer.model
Class MapResponse
java.lang.Object
org.tailormap.api.viewer.model.MapResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.10.0")
public class MapResponse
extends Object
implements Serializable
Any information needed to draw a basic map on a page. May include base layers.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAppLayersItem
(AppLayer appLayersItem) addBaseLayerTreeNodesItem
(LayerTreeNode baseLayerTreeNodesItem) addLayerTreeNodesItem
(LayerTreeNode layerTreeNodesItem) addServicesItem
(Service servicesItem) baseLayerTreeNodes
(List<@Valid LayerTreeNode> baseLayerTreeNodes) boolean
Unordered list of all AppLayers referenced from baseLayerTreeNodes and layerTreeNodes.@NotNull @Valid List<@Valid LayerTreeNode>
Unordered list of all tree nodes of base layers.@NotNull @Valid TMCoordinateReferenceSystem
getCrs()
Get crs@NotNull @Valid Bounds
Get initialExtent@NotNull @Valid List<@Valid LayerTreeNode>
Unordered list of all tree nodes of overlay/thematic/transparent layers.@Valid Bounds
Get maxExtentGet servicesint
hashCode()
initialExtent
(Bounds initialExtent) layerTreeNodes
(List<@Valid LayerTreeNode> layerTreeNodes) void
setAppLayers
(List<@Valid AppLayer> appLayers) void
setBaseLayerTreeNodes
(List<@Valid LayerTreeNode> baseLayerTreeNodes) void
void
setInitialExtent
(Bounds initialExtent) void
setLayerTreeNodes
(List<@Valid LayerTreeNode> layerTreeNodes) void
setMaxExtent
(Bounds maxExtent) void
setServices
(Set<@Valid Service> services) toString()
-
Constructor Details
-
MapResponse
public MapResponse()
-
-
Method Details
-
initialExtent
-
getInitialExtent
Get initialExtent- Returns:
- initialExtent
-
setInitialExtent
-
maxExtent
-
getMaxExtent
Get maxExtent- Returns:
- maxExtent
-
setMaxExtent
-
services
-
addServicesItem
-
getServices
Get services- Returns:
- services
-
setServices
-
baseLayerTreeNodes
-
addBaseLayerTreeNodesItem
-
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
-
layerTreeNodes
-
addLayerTreeNodesItem
-
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
-
appLayers
-
addAppLayersItem
-
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
-
setAppLayers
-
crs
-
getCrs
Get crs- Returns:
- crs
-
setCrs
-
equals
-
hashCode
public int hashCode() -
toString
-