LuciadCPillar 2024.1.01
|
A class from which the attributions of a map can be retrieved. More...
#include <luciad/maps/MapAttributions.h>
Public Member Functions | |
const std::vector< DataAttribution > & | getAllAttributions () const |
Returns the attributions from all visible layers that provide attribution. More... | |
std::optional< DataAttribution > | getAttribution (LayerId layerId) const |
Returns the attribution from a layer. More... | |
const std::vector< LayerId > & | getAttributionLayerIds () const |
Returns the IDs of all visible layers on this map that provide attribution. More... | |
A class from which the attributions of a map can be retrieved.
const std::vector< DataAttribution > & luciad::MapAttributions::getAllAttributions | ( | ) | const |
Returns the attributions from all visible layers that provide attribution.
std::optional< DataAttribution > luciad::MapAttributions::getAttribution | ( | LayerId | layerId | ) | const |
Returns the attribution from a layer.
Returns std::nullopt
if the layer is not on this map, is invisible, or provides no attribution.
const std::vector< LayerId > & luciad::MapAttributions::getAttributionLayerIds | ( | ) | const |
Returns the IDs of all visible layers on this map that provide attribution.