public function LayerInterface::setZIndex in Openlayers 7.3
Set Z-index of the layer, which is used to order layers before rendering.
Parameters
int $zindex: The Z-Index. Default is 0.
Return value
LayerInterface The parent layer.
2 methods override LayerInterface::setZIndex()
- Error::setZIndex in src/
Types/ Error.php - Set Z-index of the layer, which is used to order layers before rendering.
- Layer::setZIndex in src/
Types/ Layer.php - Set Z-index of the layer, which is used to order layers before rendering.
File
- src/
Types/ LayerInterface.php, line 79 - Interface LayerInterface.
Class
- LayerInterface
- Interface LayerInterface.
Namespace
Drupal\openlayers\TypesCode
public function setZIndex($zindex);