Geoportal Extension for OpenLayers API Reference

Class: GeoportalAttribution

ol.control.GeoportalAttribution

OpenLayers Control to manage Originators for layer resources

new GeoportalAttribution(options)

OpenLayers/Controls/GeoportalAttribution.js, line 22
Name Type Description
options Object

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

Example
map.addControl(
     new ol.control.GeoportalAttribution({
         collapsed : false
);

Extends

  • ol.control.Attribution

Members

constructor

Constructor (alias)

Methods

setMap(map)

OpenLayers/Controls/GeoportalAttribution.js, line 51

Overload setMap function, that enables to catch map events, such as movend events.

Name Type Description
map ol.Map

Map.