Class TrafficFlowTileOptions

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

public final class TrafficFlowTileOptions extends Object
TrafficFlowTileOptions class
  • Constructor Details

    • TrafficFlowTileOptions

      public TrafficFlowTileOptions()
      TrafficFlowTileOptions constructor
    • TrafficFlowTileOptions

      public TrafficFlowTileOptions(TileFormat format, TrafficFlowTileStyle style, int zoom)
      TrafficFlowTileOptions constructor
      Parameters:
      format - Desired format of the response. Possible values are png and pbf.
      style - The style to be used to render the tile.
      zoom - Zoom level for the desired tile.
  • Method Details

    • getFormat

      public TileFormat getFormat()
      gets format
      Returns:
      TileFormat
    • setFormat

      public TrafficFlowTileOptions setFormat(TileFormat tileFormat)
      sets format
      Parameters:
      tileFormat - Desired format of the response. Possible values are png and pbf.
      Returns:
      TrafficFlowTileOptions
    • getTrafficFlowTileStyle

      public TrafficFlowTileStyle getTrafficFlowTileStyle()
      gets style
      Returns:
      TrafficFlowTileStyle
    • setTrafficFlowTileStyle

      public TrafficFlowTileOptions setTrafficFlowTileStyle(TrafficFlowTileStyle trafficFlowTileStyle)
      sets TrafficFlowTileStyle
      Parameters:
      trafficFlowTileStyle - The style to be used to render the tile.
      Returns:
      TrafficFlowTileOptions
    • getZoom

      public int getZoom()
      get zoom
      Returns:
      int
    • setZoom

      public TrafficFlowTileOptions setZoom(int zoom)
      sets zoom
      Parameters:
      zoom - Zoom level for the desired tile.
      Returns:
      TrafficFlowTileOptions
    • getTileIndex

      public TileIndex getTileIndex()
      gets tileindex
      Returns:
      TileIndex
    • setTileIndex

      public TrafficFlowTileOptions setTileIndex(TileIndex tileIndex)
      sets tile index
      Parameters:
      tileIndex - The tile index
      Returns:
      TrafficFlowTileOptions
    • getThickness

      public Integer getThickness()
      gets thickness
      Returns:
      Integer
    • setThickness

      public TrafficFlowTileOptions setThickness(Integer thickness)
      sets thickness
      Parameters:
      thickness - The value of the width of the line representing traffic. This value is a multiplier and the accepted values range from 1 - 20. The default value is 10. This parameter is not valid when format is pbf.
      Returns:
      TrafficFlowTileOptions