new GeoportalZoom(options)
Controls/Zoom/GeoportalZoom.js, line 28
Name | Type | Description |
---|---|---|
options | Object |
ol.control.Zoom options (see ol.Control.Zoom) |
Example
var zoom = new ol.control.GeoportalZoom({
position: "top-left"
});
map.addControl(zoom);
Extends
- ol.control.Zoom
Methods
-
getContainer(){DOMElement}
Controls/Zoom/GeoportalZoom.js, line 179 -
Get container
-
setMap(map)
Controls/Zoom/GeoportalZoom.js, line 154 -
Overload setMap function
Name Type Description map ol.Map Map.