Constructor
new TileLayer(config, cache, id)
Set all properties for the layer based on the options object.
Parameters:
Name | Type | Description |
---|---|---|
config |
object | |
cache |
object | |
id |
string |
- Source:
Methods
getBounds() → {object}
Get the bounding box as an object
- Source:
Returns:
{ min: {x, y}, max: {x, y}, crs: "CRS:84" }
- Type
- object
setZIndex(index)
Set the z-index of a layer
Parameters:
Name | Type | Description |
---|---|---|
index |
number |
- Source: