public final class ZoomLevel extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_TOLERANCE
Maximum allowed tolerance value.
|
static int |
MAX_VALUE
Maximum allowed zoom level value.
|
static int |
MIN_TOLERANCE
Minimum allowed tolerance value.
|
static int |
MIN_VALUE
Minimum allowed zoom level value.
|
static int |
PEN_WIDTH_LARGE
Large pen width in pixels.
|
static int |
PEN_WIDTH_SMALL
Small pen width in pixels.
|
Modifier and Type | Method and Description |
---|---|
static ZoomLevel |
get(int value)
Gets the information related to the specified zoom level.
|
int |
getFrcLevel()
Sets FRC level.
|
static int |
getFrcLevel(int zoom)
Gets the FRC level for specified zoom level.
|
int |
getLatitudeDeltaE6()
Gets latitude delta.
|
static int |
getLatitudeDeltaE6(int zoom)
Gets the latitude delta for the specified zoom level.
|
int |
getPenWidth()
Gets pen width for this zoom level.
|
static int |
getPenWidth(int zoom)
Gets the pen width for the specified zoom level.
|
static int |
getTolerance(int zoom)
Gets the point tolerance value based on specified zoom level.
|
static boolean |
valid(int zoom)
Gets a value indicating whether zoom level within valid range.
|
public static final int MIN_VALUE
public static final int MAX_VALUE
public static final int MIN_TOLERANCE
public static final int MAX_TOLERANCE
public static final int PEN_WIDTH_SMALL
public static final int PEN_WIDTH_LARGE
public static ZoomLevel get(int value)
value
- Zoom level value.ZoomLevel
is found; otherwise null if specified zoom level is not supported.public static boolean valid(int zoom)
zoom
- Target zoom level.public static int getTolerance(int zoom)
zoom
- Target zoom level.RouteManager.RouteOptionsBase.setTolerance(int)
public int getLatitudeDeltaE6()
public static int getLatitudeDeltaE6(int zoom)
zoom
- Target zoom level.Integer.MIN_VALUE
if no value is found.public int getPenWidth()
public static int getPenWidth(int zoom)
zoom
- Target zoom level.public int getFrcLevel()
TileManager
for defaults on FRC levels.public static int getFrcLevel(int zoom)
TrafficManager
for more information about FRCs.zoom
- Target zoom level.Integer.MIN_VALUE
if FRCs are not supported on specified zoom level orCopyright © 2013-2018 INRIX, Inc. All Rights Reserved.