Class TrafficIncidentDetailOptions

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

public final class TrafficIncidentDetailOptions extends Object
TrafficIncidentDetailOptions class
  • Constructor Details

    • TrafficIncidentDetailOptions

      public TrafficIncidentDetailOptions()
      TrafficIncidentDetailOptions constructor
    • TrafficIncidentDetailOptions

      public TrafficIncidentDetailOptions(com.azure.core.models.GeoBoundingBox boundingBox, IncidentDetailStyle style, int boundingZoom, String trafficModelId)
      TrafficIncidentDetailOptions constructor
      Parameters:
      boundingBox - The boundingbox is represented by two value pairs describing it's corners (first pair for lower left corner and second for upper right).
      style - The style that will be used to render the tile in Traffic Incident Tile API.
      boundingZoom - Zoom level for desired tile. 0 to 22 for raster tiles, 0 through 22 for vector tiles
      trafficModelId - Number referencing traffic model. This can be obtained from the Viewport API.
  • Method Details

    • getIncidentDetailStyle

      public IncidentDetailStyle getIncidentDetailStyle()
      get incident detail style
      Returns:
      IncidentDetailStyle
    • setIncidentDetailStyle

      public TrafficIncidentDetailOptions setIncidentDetailStyle(IncidentDetailStyle incidentDetailStyle)
      sets incident detail style
      Parameters:
      incidentDetailStyle - The style that will be used to render the tile in Traffic Incident Tile API.
      Returns:
      TrafficIncidentDetailOptions
    • getBoundingBox

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

      public TrafficIncidentDetailOptions setBoundingBox(com.azure.core.models.GeoBoundingBox boundingbox)
      sets bounding box
      Parameters:
      boundingbox - The boundingbox is represented by two value pairs describing it's corners (first pair for lower left corner and second for upper right).
      Returns:
      TrafficIncidentDetailOptions
    • getBoundingZoom

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

      public TrafficIncidentDetailOptions setBoundingZoom(int boundingZoom)
      set bounding zoom
      Parameters:
      boundingZoom - Zoom level for desired tile. 0 to 22 for raster tiles, 0 through 22 for vector tiles
      Returns:
      TrafficIncidentDetailOptions
    • getTrafficIncidentDetailTrafficModelId

      public String getTrafficIncidentDetailTrafficModelId()
      get traffic model id
      Returns:
      String
    • setTrafficmodelId

      public TrafficIncidentDetailOptions setTrafficmodelId(String trafficmodelid)
      sets traffic model id
      Parameters:
      trafficmodelid - Number referencing traffic model. This can be obtained from the Viewport API.
      Returns:
      TrafficIncidentDetailOptions
    • getLanguage

      public String getLanguage()
      get language
      Returns:
      String
    • setLanguage

      public TrafficIncidentDetailOptions setLanguage(String language)
      sets language
      Parameters:
      language - ISO 639-1 code for the output language.
      Returns:
      TrafficIncidentDetailOptions
    • getProjectionStandard

      public ProjectionStandard getProjectionStandard()
      get projection standard
      Returns:
      ProjectionStandard
    • setProjectionStandard

      public TrafficIncidentDetailOptions setProjectionStandard(ProjectionStandard projectionStandard)
      set projection standard
      Parameters:
      projectionStandard - The projection used to specify the coordinates in the request and response.
      Returns:
      TrafficIncidentDetailOptions
    • getIncidentGeometryType

      public IncidentGeometryType getIncidentGeometryType()
      get incident geometry type
      Returns:
      IncidentGeometryType
    • setIncidentGeometryType

      public TrafficIncidentDetailOptions setIncidentGeometryType(IncidentGeometryType incidentGeometryType)
      set incident geometry type
      Parameters:
      incidentGeometryType - The type of vector geometry added to incidents (returned in the element of the response).
      Returns:
      TrafficIncidentDetailOptions
    • getExpandCluster

      public Boolean getExpandCluster()
      get expand cluster
      Returns:
      boolean
    • setExpandCluster

      public TrafficIncidentDetailOptions setExpandCluster(Boolean expandCluster)
      set expand cluster
      Parameters:
      expandCluster - Boolean to indicate whether to list all traffic incidents in a cluster separately
      Returns:
      TrafficIncidentDetailOptions
    • getOriginalPosition

      public Boolean getOriginalPosition()
      get original position
      Returns:
      boolean
    • setOriginalPosition

      public TrafficIncidentDetailOptions setOriginalPosition(Boolean originalPosition)
      set original position
      Parameters:
      originalPosition - Boolean on whether to return the original position of the incident as well as the one shifted to the beginning of the traffic tube
      Returns:
      TrafficIncidentDetailOptions