ol.View#fit -- fix docs and add assertions
This commit is contained in:
committed by
Bart van den Eijnden
parent
e7cd691362
commit
4d3e903670
@@ -102,7 +102,7 @@ The replacement of `ol.tilegrid.Zoomify` is a plain `ol.tilegrid.TileGrid`, conf
|
||||
|
||||
#### Replace `ol.View.fitExtent()` and `ol.View.fitGeometry()` with `ol.View.fit()`
|
||||
* This combines two previously distinct functions into one more flexible call which takes either a geometry or an extent.
|
||||
* Rename all calls to `fitExtent` and `fitGeometry` to `fit`
|
||||
* Rename all calls to `fitExtent` and `fitGeometry` to `fit`.
|
||||
|
||||
#### `ol.tilegrid` changes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user