public class OfflineTilePyramidRegionDefinition extends java.lang.Object implements OfflineRegionDefinition
Both minZoom and maxZoom must be ≥ 0, and maxZoom must be ≥ minZoom.
maxZoom may be ∞, in which case for each tile source, the region will include tiles from minZoom up to the maximum zoom level provided by that source.
pixelRatio must be ≥ 0 and should typically be 1.0 or 2.0.
| Constructor and Description |
|---|
OfflineTilePyramidRegionDefinition(java.lang.String styleURL,
LatLngBounds bounds,
double minZoom,
double maxZoom,
float pixelRatio)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
LatLngBounds |
getBounds() |
double |
getMaxZoom() |
double |
getMinZoom() |
float |
getPixelRatio() |
java.lang.String |
getStyleURL() |
public OfflineTilePyramidRegionDefinition(java.lang.String styleURL,
LatLngBounds bounds,
double minZoom,
double maxZoom,
float pixelRatio)
styleURL - the stylebounds - the boundsminZoom - min zoommaxZoom - max zoompixelRatio - pixel ratio of the devicepublic java.lang.String getStyleURL()
public LatLngBounds getBounds()
public double getMinZoom()
public double getMaxZoom()
public float getPixelRatio()