- Source:
- View.js, line 1
Methods
-
<static> create(config) → {object}
-
Creates a View instance using a configuration object.
Parameters:
Name Type Description config
object An object with valid options for ol.View. - Source:
- View.js, line 12
Returns:
- Type
- object
-
<static> findBestResolution(config, map) → {number}
-
Find best resolution for map
Parameters:
Name Type Description config
object An object with valid options for ol.View. map
ol.Map Map to calculate best resolution. - Source:
- View.js, line 22
Returns:
- Type
- number