Package com.luciad.maps
Class MapAttributions
java.lang.Object
com.luciad.maps.MapAttributions
- All Implemented Interfaces:
AutoCloseable
A class from which the attributions of a map can be retrieved.
- Since:
- 2024.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
finalize()
List
<@NotNull DataAttribution> Returns the attributions from all visible layers that provide attribution.getAttribution
(long layerId) Returns the attribution from a layer.Returns the IDs of all visible layers on this map that provide attribution.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getAllAttributions
Returns the attributions from all visible layers that provide attribution.- Returns:
- the attributions from all visible layers that provide attribution.
-
getAttribution
Returns the attribution from a layer.Returns
null
if the layer is not on this map, is invisible, or provides no attribution.- Returns:
- the attribution of the layer.
-
getAttributionLayerIds
Returns the IDs of all visible layers on this map that provide attribution.- Returns:
- the layer IDs.
-