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 Details

    • MapResponse

      public MapResponse()
  • Method Details

    • 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
    • setServices

      public void setServices(Set<@Valid Service> 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
    • setAppLayers

      public void setAppLayers(List<@Valid AppLayer> appLayers)
    • crs

    • getCrs

      @NotNull @Valid public @NotNull @Valid TMCoordinateReferenceSystem getCrs()
      Get crs
      Returns:
      crs
    • setCrs

      public void setCrs(TMCoordinateReferenceSystem crs)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object