Geoportal Extension for OpenLayers
API Reference

Class: GeoportalOverviewMap

ol.control.GeoportalOverviewMap

OpenLayers Control to manage overviewMap

new GeoportalOverviewMap(options)

Controls/OverviewMap/GeoportalOverviewMap.js, line 28
Name Type Description
options Object

ol.control.OverviewMap options (see ol.Control.OverviewMap)

Example
var overviewmap = new ol.control.GeoportalOverviewMap({
  position: "top-left"
});
map.addControl(overviewmap);

Extends

  • ol.control.OverviewMap

Methods

getContainer(){DOMElement}

Controls/OverviewMap/GeoportalOverviewMap.js, line 367

Get container

setMap(map)

Controls/OverviewMap/GeoportalOverviewMap.js, line 353

Overload setMap function

Name Type Description
map ol.Map

Map.