OptionallayerThe layer found in the map.
OptionalsublayerThe sublayer found in the map.
type 'invalid' if the layerIdPath is invalid. type 'layer' if the layerIdPath has pointed to a layer, but layer can still be undefined. type 'sublayer' if the layerIdPath has pointed to a sublayer, but sublayer can still be undefined.
The result of a layer lookup.