Mapview.fitView()
Fits the view to a given extent
Parameters:
Name | Type | Description |
---|---|---|
extent | Array | geo extent, array of 4 numbers, must be [minX, minY, maxX, maxY] |
options | Object | Defaults to empty object |
- Source