Geoportal Extension for OpenLayers
API Reference

Class: GeoportalZoom

ol.control.GeoportalZoom

OpenLayers Control to manage zoom

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

setMap(map)

Controls/Zoom/GeoportalZoom.js, line 139

Overload setMap function

Name Type Description
map ol.Map

Map.