@JsType(isNative=true, namespace="<global>", name="Object") public class TileLayerOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TileLayerOptions.Builder |
Constructor and Description |
---|
TileLayerOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getAttribution()
Gets the string used by the attribution control, describes the layer data.
|
LatLngBounds |
getBounds()
Gets whether the TileLayer only loads tiles that are in the given geographical bounds.
|
String |
getClassName() |
boolean |
getCrossOrigin() |
boolean |
getDetectRetina()
Gets the detect retina option is set
default false
|
String |
getErrorTileUrl()
Gets the URL to the tile image to show in place of the tile that failed to load.
|
int |
getKeepBuffer() |
double |
getMaxNativeZoom()
Gets the Maximum zoom number the tiles source has available.
|
int |
getMaxZoom()
Gets the max zoom.
|
double |
getMinNativeZoom() |
int |
getMinZoom()
Gets the min zoom.
|
boolean |
getNoWrap()
Gets whether the tiles just won't load outside the world width (-180 to 180 longitude) instead of repeating.
|
double |
getOpacity()
Gets the opacity of the tile layer.
|
String |
getPane() |
String[] |
getSubdomains()
Gets the Subdomains of the tile service.
|
int |
getTileSize()
Gets the Tile size (width and height in pixels, assuming tiles are square).
|
boolean |
getTms()
Gets whether If true, inverses Y axis numbering for tiles (turn this on for TMS services).
|
boolean |
getUpdateInterval() |
boolean |
getUpdateWhenIdle()
Gets whether the new tiles are loaded during panning, otherwise only after it (for better performance).
|
boolean |
getUpdateWhenZooming() |
int |
getzIndex()
Gets The explicit zIndex of the tile layer.
|
int |
getZoomOffset()
Gets The zoom number used in tile URLs will be offset with this value.
|
boolean |
getZoomReverse()
Gets the zoom number used in tile URLs will be reversed (maxZoom - zoom instead of zoom).
|
@JsOverlay public final int getMinZoom()
@JsOverlay public final int getMaxZoom()
@JsOverlay public final double getMaxNativeZoom()
@JsOverlay public final int getTileSize()
@JsOverlay public final String[] getSubdomains()
@JsOverlay public final String getErrorTileUrl()
@JsOverlay public final String getAttribution()
@JsOverlay public final boolean getTms()
@JsOverlay public final boolean getNoWrap()
@JsOverlay public final int getZoomOffset()
@JsOverlay public final boolean getZoomReverse()
@JsOverlay public final double getOpacity()
@JsOverlay public final int getzIndex()
@JsOverlay public final boolean getUpdateWhenIdle()
@JsOverlay public final boolean getDetectRetina()
@JsOverlay public final LatLngBounds getBounds()
@JsOverlay public final double getMinNativeZoom()
@JsOverlay public final boolean getUpdateWhenZooming()
@JsOverlay public final boolean getUpdateInterval()
@JsOverlay public final boolean getCrossOrigin()
@JsOverlay public final String getPane()
@JsOverlay public final String getClassName()
@JsOverlay public final int getKeepBuffer()
Copyright © 2018 G-Widgets. All rights reserved.