new View(opt_options)
impl/ol/View.js, line 15
Name | Type | Description |
---|---|---|
options |
olx.ViewOptions |
View options. |
Extends
- ol.View
Methods
-
This function provides the resolutions of the specified view
Returns:
the resolutions
-
getUserZoom()
impl/ol/View.js, line 37 -
Provides the zoom user
-
setProjection(projection)
impl/ol/View.js, line 49 -
This function adds the control to the specified map
Name Type Description projection
ol.proj.Projection to apply to the map
-
setResolutions(resolutions)
impl/ol/View.js, line 73 -
This function adds sets resolutions of the specified map
Name Type Description resolutions
Array.<Number> to apply to the map
-
setUserZoom(zoom)
impl/ol/View.js, line 26 -
Zoom to a specific zoom level from user
Name Type Description zoom
number Zoom level.