#22
To get information about the start and end of specific layers, you can use:
renderer.getLayerDefinition(layerIndex)
Or to get all layer definitions at once:
renderer.getLayerDefinitions()
renderer.getLayerDefinitionsNoCopy()
(use only if you know what you are doing)
Note: The layer definitions are only available after the first render.