Geoportal Extension for OpenLayers
API Reference

Class: GeoportalFullScreen

ol.control.GeoportalFullScreen

OpenLayers Control to manage full screen

new GeoportalFullScreen(options)

Controls/FullScreen/GeoportalFullScreen.js, line 26
Name Type Description
options Object

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

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

Extends

  • ol.control.FullScreen

Methods

getContainer(){DOMElement}

Controls/FullScreen/GeoportalFullScreen.js, line 145

Get container

setMap(map)

Controls/FullScreen/GeoportalFullScreen.js, line 120

Overload setMap function

Name Type Description
map ol.Map

Map.