Package | Description |
---|---|
com.gwidgets.api.leaflet.options |
Modifier and Type | Method and Description |
---|---|
TileLayerOptions.Builder |
TileLayerOptions.Builder.attribution(java.lang.String attribution)
e.g.
|
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.continuousWorld(java.lang.Boolean continuousWorld)
If set to true, the tile coordinates won't be wrapped by world width (-180 to 180 longitude) or clamped to lie within world height (-90 to 90).
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.detectRetina(java.lang.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(java.lang.String errorTileUrl)
URL to the tile image to show in place of the tile that failed to load.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.maxNativeZoom(java.lang.Number maxNativeZoom)
Maximum zoom number the tiles source has available.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.maxZoom(java.lang.Number maxZoom)
Maximum zoom number.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.minZoom(java.lang.Number minZoom)
Minimum zoom number.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.noWrap(java.lang.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(java.lang.Number opacity)
The opacity of the tile layer.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.reuseTiles(java.lang.Boolean reuseTiles)
If true, 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).
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.subdomains(java.lang.String[] subdomains)
Subdomains of the tile service.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.tileSize(java.lang.Number tileSize)
Tile size (width and height in pixels, assuming tiles are square).
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.tms(java.lang.Boolean tms)
If true, inverses Y axis numbering for tiles (turn this on for TMS services).
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.unloadInvisibleTiles(java.lang.Boolean unloadInvisibleTiles)
If true, all the tiles that are not visible after panning are removed (for better performance).
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.updateWhenIdle(java.lang.Boolean updateWhenIdle)
If false, new tiles are loaded during panning, otherwise only after it (for better performance).
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.zIndex(java.lang.Number zIndex)
The explicit zIndex of the tile layer.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.zoomOffset(java.lang.Number zoomOffset)
The zoom number used in tile URLs will be offset with this value.
|
TileLayerOptions.Builder |
TileLayerOptions.Builder.zoomReverse(java.lang.Boolean zoomReverse)
If set to true, the zoom number used in tile URLs will be reversed (maxZoom - zoom instead of zoom).
|