a layer Id
Optional
params: JDisplayExtentParams(see example)
A promise boolean that is true if the layer has an extent or false otherwise.
// Move to layer 4 extent and display it for a few second
JMap.Map.displayLayerExtent(4, {moveToExtent: true})
JMap.Map.displayLayerExtent
Displays the layer extent of the given layer Id
The layer extent will disappear after a few seconds