xyz
xyz copied to clipboard
layer.zoomToExtent method test and documentation
The query to get a layers extent should be taken out from the zoomToExtent method and assigned as a method which can be tested on its own to return the extent.
This method should then be called by the zoomToExtent layer method.