new GeoportalAttribution(options)
Controls/Attribution/GeoportalAttribution.js, line 31
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
Methods
-
setMap(map)
Controls/Attribution/GeoportalAttribution.js, line 66 -
Overload setMap function, that enables to catch map events,
such as movend events.Name Type Description map ol.Map Map.