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 |
setCoverage(int coverage)
Sets the coverage for a tile.
|
TileManager.TileOptions |
setFormat(int format)
Sets the format of the tile.
|
TileManager.TileOptions |
setFrcLevel(int frcLevel)
Sets the Federal Road Classification code level(s) for a tile.
|
TileManager.TileOptions |
setHeight(int height)
Sets the height of the tile.
|
TileManager.TileOptions |
setLayers(int value)
Sets the layers for the map 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.
|
TileManager.TileOptions |
setWidth(int width)
Sets the width of the 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 setLayers(int value)
value - Layers to include. Default is TileManager.TILE_LAYER_TRAFFIC.public TileManager.TileOptions setWidth(int width)
TileManager.TILE_DEFAULT_WIDTH.width - The traffic tile width in pixels.TileManager.TileOptions class.public TileManager.TileOptions setHeight(int height)
TileManager.TILE_DEFAULT_HEIGHT.height - The traffic tile height in pixels.TileManager.TileOptions class.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 setFormat(int format)
TileManager.TILE_FORMAT_GIF.format - The format of the traffic tile to be returned.
Supported values are TileManager.TILE_FORMAT_PNG and TileManager.TILE_FORMAT_GIF.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 setCoverage(int coverage)
coverage - The type of coverage to return: core or extended. The default is specified per vendor.
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-2016 INRIX, Inc. All Rights Reserved.