public static final class TileManager.TileOptions extends Object
Constructor and Description |
---|
TileOptions()
Initializes a new instance of the
TileManager.TileOptions class. |
TileOptions(int zoom)
Initializes a new instance of the
TileManager.TileOptions class. |
TileOptions(TileManager.TileOptions in)
Initializes a new instance of TileOptions using another instance.
|
Modifier and Type | Method and Description |
---|---|
TileManager.TileOptions |
setFrcLevel(int frcLevel)
Sets the Federal Road Classification code level(s) for a tile.
|
TileManager.TileOptions |
setOpacity(int opacity)
Sets the opacity for the tile.
|
TileManager.TileOptions |
setPenWidth(int penWidth)
Sets a pen width for the tile.
|
TileManager.TileOptions |
setSpeedBucketId(int speedBucketId)
Sets a speed bucket ID for a tile.
|
TileManager.TileOptions |
setStartTime(long startTimeMs)
Sets a start time for a tile.
|
String |
toString() |
public TileOptions()
TileManager.TileOptions
class.public TileOptions(int zoom)
TileManager.TileOptions
class.zoom
- Target zoom level. Some options (pen width, FRC level) will be set automatically based on the specified zoom level.
If specified zoom not within allowed zoom level range, options will be set to default value
(same as calling TileOptions .ctor without parameters).public TileOptions(TileManager.TileOptions in)
in
- An instance to initialize TileManager.TileOptions
from.public TileManager.TileOptions setOpacity(int opacity)
TileManager.TILE_DEFAULT_OPACITY
.opacity
- The traffic tile opacity. Valid values are between 0 and 100.TileManager.TileOptions
class.public TileManager.TileOptions setPenWidth(int penWidth)
TileManager.TILE_DEFAULT_PEN_WIDTH
.penWidth
- The pen width of the traffic overlay, in pixels.TileManager.TileOptions
class.public TileManager.TileOptions setFrcLevel(int frcLevel)
TileManager.TILE_FRC_LEVEL_ALL
.frcLevel
- The Federal Road Classification code of the TMCs to return. Can be one or a combination of the following values:
TileManager.TileOptions
class.public TileManager.TileOptions setSpeedBucketId(int speedBucketId)
speedBucketId
- The ID of the speed bucket.TileManager.TileOptions
class.public TileManager.TileOptions setStartTime(long startTimeMs)
startTimeMs
- The start time of the tile in milliseconds.TileManager.TileOptions
class.Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.