Class TrafficIncidentViewportOptions

java.lang.Object
com.azure.maps.traffic.models.TrafficIncidentViewportOptions

public final class TrafficIncidentViewportOptions extends Object
TrafficIncidentViewportOptions class
  • Constructor Details

    • TrafficIncidentViewportOptions

      public TrafficIncidentViewportOptions()
      TrafficIncidentViewportOptions constructor
    • TrafficIncidentViewportOptions

      public TrafficIncidentViewportOptions(com.azure.core.models.GeoBoundingBox boundingBox, int boundingZoom, com.azure.core.models.GeoBoundingBox overviewBox, int overviewZoom)
      TrafficIncidentViewportOptions constructor
      Parameters:
      boundingBox - Bounding box of the map viewport in EPSG900913 projection. The boundingbox is represented by two value pairs describing it's corners (first pair for lower left corner and second for upper right).
      boundingZoom - Zoom level of the map viewport. Used to determine whether the view can be zoomed in.
      overviewBox - Bounding box of the overview map in EPSG900913 projection.
      overviewZoom - Zoom level of the overview map. If there is no mini map, use the same zoom level as boundingZoom.
  • Method Details

    • getBoundingBox

      public com.azure.core.models.GeoBoundingBox getBoundingBox()
      get bounding box
      Returns:
      GeoBoundingBox
    • setBoundingBox

      public TrafficIncidentViewportOptions setBoundingBox(com.azure.core.models.GeoBoundingBox boundingbox)
      set bounding box
      Parameters:
      boundingbox - Bounding box of the map viewport in EPSG900913 projection. The boundingbox is represented by two value pairs describing it's corners (first pair for lower left corner and second for upper right).
      Returns:
      TrafficIncidentViewportOptions
    • getBoundingZoom

      public int getBoundingZoom()
      get bounding zoom
      Returns:
      int
    • setBoundingZoom

      public TrafficIncidentViewportOptions setBoundingZoom(int boundingZoom)
      set bounding zoom
      Parameters:
      boundingZoom - Zoom level of the map viewport. Used to determine whether the view can be zoomed in.
      Returns:
      TrafficIncidentViewportOptions
    • getOverviewBox

      public com.azure.core.models.GeoBoundingBox getOverviewBox()
      get overviewbox
      Returns:
      GeoBoundingBox
    • setOverview

      public TrafficIncidentViewportOptions setOverview(com.azure.core.models.GeoBoundingBox overviewBox)
      set overview
      Parameters:
      overviewBox - Bounding box of the overview map in EPSG900913 projection.
      Returns:
      TrafficIncidentViewportOptions
    • getOverviewZoom

      public int getOverviewZoom()
      get overview zoom
      Returns:
      int
    • setOverviewZoom

      public TrafficIncidentViewportOptions setOverviewZoom(int overviewZoom)
      set overview zoom
      Parameters:
      overviewZoom - Zoom level of the overview map. If there is no mini map, use the same zoom level as boundingZoom.
      Returns:
      TrafficIncidentViewportOptions
    • getCopyright

      public Boolean getCopyright()
      get copyright
      Returns:
      boolean
    • setCopyright

      public TrafficIncidentViewportOptions setCopyright(Boolean copyright)
      set copyright
      Parameters:
      copyright - Determines what copyright information to return. When true the copyright text is returned; when false only the copyright index is returned.
      Returns:
      TrafficIncidentViewportOptions