Package com.azure.maps.traffic.models
Class TrafficFlowTileOptions
java.lang.Object
com.azure.maps.traffic.models.TrafficFlowTileOptions
TrafficFlowTileOptions class
-
Constructor Summary
ConstructorDescriptionTrafficFlowTileOptions constructorTrafficFlowTileOptions
(TileFormat format, TrafficFlowTileStyle style, int zoom) TrafficFlowTileOptions constructor -
Method Summary
Modifier and TypeMethodDescriptiongets formatgets thicknessgets tileindexgets styleint
getZoom()
get zoomsetFormat
(TileFormat tileFormat) sets formatsetThickness
(Integer thickness) sets thicknesssetTileIndex
(TileIndex tileIndex) sets tile indexsetTrafficFlowTileStyle
(TrafficFlowTileStyle trafficFlowTileStyle) sets TrafficFlowTileStylesetZoom
(int zoom) sets zoom
-
Constructor Details
-
TrafficFlowTileOptions
public TrafficFlowTileOptions()TrafficFlowTileOptions constructor -
TrafficFlowTileOptions
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
gets format- Returns:
- TileFormat
-
setFormat
sets format- Parameters:
tileFormat
- Desired format of the response. Possible values are png and pbf.- Returns:
- TrafficFlowTileOptions
-
getTrafficFlowTileStyle
gets style- Returns:
- TrafficFlowTileStyle
-
setTrafficFlowTileStyle
sets TrafficFlowTileStyle- Parameters:
trafficFlowTileStyle
- The style to be used to render the tile.- Returns:
- TrafficFlowTileOptions
-
getZoom
public int getZoom()get zoom- Returns:
- int
-
setZoom
sets zoom- Parameters:
zoom
- Zoom level for the desired tile.- Returns:
- TrafficFlowTileOptions
-
getTileIndex
gets tileindex- Returns:
- TileIndex
-
setTileIndex
sets tile index- Parameters:
tileIndex
- The tile index- Returns:
- TrafficFlowTileOptions
-
getThickness
gets thickness- Returns:
- Integer
-
setThickness
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
-