@JsType(isNative=true,
namespace="<global>",
name="Object")
public class TileLayerOptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TileLayerOptions.Builder |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribution()
Gets e.g.
|
LatLngBounds |
getBounds()
Gets whether the TileLayer only loads tiles that are in the given geographical bounds.
|
java.lang.Boolean |
getContinuousWorld()
Gets whether the tile coordinates won't be wrapped by world width (-180 to 180 longitude) or clamped to lie within world height (-90 to 90).
|
java.lang.Boolean |
getDetectRetina()
Gets the detect retina option is set
default false |
java.lang.String |
getErrorTileUrl()
Gets the URL to the tile image to show in place of the tile that failed to load.
|
java.lang.Number |
getMaxNativeZoom()
Gets the Maximum zoom number the tiles source has available.
|
java.lang.Number |
getMaxZoom()
Gets the max zoom.
|
java.lang.Number |
getMinZoom()
Gets the min zoom.
|
java.lang.Boolean |
getNoWrap()
Gets whether the tiles just won't load outside the world width (-180 to 180 longitude) instead of repeating.
|
java.lang.Number |
getOpacity()
Gets the opacity of the tile layer.
|
java.lang.Boolean |
getReuseTiles()
Gets whether all the tiles that are not visible after panning are placed in a reuse queue from which they will be fetched when new tiles become visible (as opposed to dynamically creating new ones).
|
java.lang.String[] |
getSubdomains()
Gets the Subdomains of the tile service.
|
java.lang.Number |
getTileSize()
Gets the Tile size (width and height in pixels, assuming tiles are square).
|
java.lang.Boolean |
getTms()
Gets whether If true, inverses Y axis numbering for tiles (turn this on for TMS services).
|
java.lang.Boolean |
getUnloadInvisibleTiles()
Gets whether all the tiles that are not visible after panning are removed (for better performance).
|
java.lang.Boolean |
getUpdateWhenIdle()
Gets whether the new tiles are loaded during panning, otherwise only after it (for better performance).
|
java.lang.Number |
getzIndex()
Gets The explicit zIndex of the tile layer.
|
java.lang.Number |
getZoomOffset()
Gets The zoom number used in tile URLs will be offset with this value.
|
java.lang.Boolean |
getZoomReverse()
Gets the zoom number used in tile URLs will be reversed (maxZoom - zoom instead of zoom).
|
@JsOverlay public final java.lang.Number getMinZoom()
@JsOverlay public final java.lang.Number getMaxZoom()
@JsOverlay public final java.lang.Number getMaxNativeZoom()
@JsOverlay public final java.lang.Number getTileSize()
@JsOverlay public final java.lang.String[] getSubdomains()
@JsOverlay public final java.lang.String getErrorTileUrl()
@JsOverlay public final java.lang.String getAttribution()
@JsOverlay public final java.lang.Boolean getTms()
@JsOverlay public final java.lang.Boolean getContinuousWorld()
@JsOverlay public final java.lang.Boolean getNoWrap()
@JsOverlay public final java.lang.Number getZoomOffset()
@JsOverlay public final java.lang.Boolean getZoomReverse()
@JsOverlay public final java.lang.Number getOpacity()
@JsOverlay public final java.lang.Number getzIndex()
@JsOverlay public final java.lang.Boolean getUnloadInvisibleTiles()
@JsOverlay public final java.lang.Boolean getUpdateWhenIdle()
@JsOverlay public final java.lang.Boolean getDetectRetina()
@JsOverlay public final java.lang.Boolean getReuseTiles()
@JsOverlay public final LatLngBounds getBounds()