Package | Description |
---|---|
com.gwidgets.api.leaflet.options |
Modifier and Type | Method and Description |
---|---|
TileLayerOptions.Builder |
TileLayerOptions.Builder.attribution(String attribution)
the string used by the attribution control, describes the layer data.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.bounds(LatLngBounds bounds)
When this option is set, the TileLayer only loads tiles that are in the given geographical bounds.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.className(String className) |
TileLayerOptions.Builder |
TileLayerOptions.Builder.crossOrigin(Boolean crossOrigin) |
TileLayerOptions.Builder |
TileLayerOptions.Builder.detectRetina(Boolean detectRetina)
If true and user is on a retina display, it will request four tiles of half the specified size and a bigger zoom level in place of one to utilize the high resolution.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.errorTileUrl(String errorTileUrl)
URL to the tile image to show in place of the tile that failed to load.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.keepBuffer(Integer keepBuffer) |
TileLayerOptions.Builder |
TileLayerOptions.Builder.maxNativeZoom(Double maxNativeZoom)
Maximum zoom number the tiles source has available.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.maxZoom(Integer maxZoom)
Maximum zoom double.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.minNativeZoom(Double minNativeZoom) |
TileLayerOptions.Builder |
TileLayerOptions.Builder.minZoom(Integer minZoom)
Minimum zoom number.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.noWrap(Boolean noWrap)
If set to true, the tiles just won't load outside the world width (-180 to 180 longitude) instead of repeating.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.opacity(Double opacity)
The opacity of the tile layer.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.pane(String pane) |
TileLayerOptions.Builder |
TileLayerOptions.Builder.subdomains(String[] subdomains)
Subdomains of the tile service.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.tileSize(Integer tileSize)
Tile size (width and height in pixels, assuming tiles are square).
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.tms(Boolean tms)
If true, inverses Y axis numbering for tiles (turn this on for TMS services).
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.updateInterval(Boolean updateInterval) |
TileLayerOptions.Builder |
TileLayerOptions.Builder.updateWhenIdle(Boolean updateWhenIdle)
If false, new tiles are loaded during panning, otherwise only after it (for better performance).
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.updateWhenZooming(Boolean updateWhenZooming) |
TileLayerOptions.Builder |
TileLayerOptions.Builder.zIndex(Integer zIndex)
The explicit zIndex of the tile layer.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.zoomOffset(Integer zoomOffset)
The zoom number used in tile URLs will be offset with this value.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.zoomReverse(Boolean zoomReverse)
If set to true, the zoom number used in tile URLs will be reversed (maxZoom - zoom instead of zoom).
|
Copyright © 2018 G-Widgets. All rights reserved.