new GeoportalAttribution(options)
OpenLayers/Controls/GeoportalAttribution.js, line 30
Name | Type | Description |
---|---|---|
options | Object |
ol.control.Attribution options (see ol.Control.Attribution) |
Fires:
- attributions:update
Example
var attribution = new ol.control.GeoportalAttribution({
collapsed : false
});
map.addControl(attribution);
// listeners for attributions update :
attribution.on("attributions:update", function (e) {});
Extends
- ol.control.Attribution
Members
-
constructor
-
Constructor (alias)
Methods
-
setMap(map)
OpenLayers/Controls/GeoportalAttribution.js, line 74 -
Overload setMap function, that enables to catch map events, such as movend events.
Name Type Description map ol.Map Map.