Geoportal Extension for OpenLayers 3 API Reference

Class: GeoportalAttribution

ol.control.GeoportalAttribution

OpenLayers Control to manage Originators for layer resources

new GeoportalAttribution(options)

Ol3/Controls/GeoportalAttribution.js, line 20
Name Type Description
options Object

ol.control.Attribution options (see http://openlayers.org/en/v3.13.0/apidoc/ol.control.Attribution.html)

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

Extends

  • ol.control.Attribution

Members

constructor

Constructor (alias)

Methods

setMap(map)

Ol3/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.