Class TLcdBingMapsGXYCopyrightProvider
java.lang.Object
com.luciad.format.bingmaps.copyright.gxy.TLcdBingMapsGXYCopyrightProvider
This class informs its listeners of copyright updates for all
Bing Maps layers in an
ILcdGXYView
.
Depending on the Bing Maps terms of use, it may be required to display
copyright information of the displayed content.
Based on the currently visible bounds of the view, this provider selects the relevant
TLcdBingMapsCopyrightHolders
from the model.- Since:
- 11.0
- See Also:
-
Constructor Summary
ConstructorDescriptionTLcdBingMapsGXYCopyrightProvider
(ILcdGXYView aGXYView) Constructs a new copyright provider, initialized using the passed view.TLcdBingMapsGXYCopyrightProvider
(ILcdGXYView aGXYView, ILcdBingMapsCopyrightListener aListener) Constructs a new copyright provider, initialized using the passed view. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Registers a callback to be notified when the copyright info changes.void
Unregisters a callback or does nothing if the passed callback isn't registered.
-
Constructor Details
-
TLcdBingMapsGXYCopyrightProvider
Constructs a new copyright provider, initialized using the passed view.- Parameters:
aGXYView
- the 2D view the Bing Maps layer is visualized in.
-
TLcdBingMapsGXYCopyrightProvider
public TLcdBingMapsGXYCopyrightProvider(ILcdGXYView aGXYView, ILcdBingMapsCopyrightListener aListener) Constructs a new copyright provider, initialized using the passed view.- Parameters:
aGXYView
- the 2D view the Bing Maps layer is visualized in (can't be null).aListener
- a initial callback to be registered, can be null.
-
-
Method Details
-
addCopyrightListener
Registers a callback to be notified when the copyright info changes.- Parameters:
aListener
- the callback that will be notified when the copyright information is available.- See Also:
-
removeCopyrightListener
Unregisters a callback or does nothing if the passed callback isn't registered.- Parameters:
aListener
- the callback that will be unregistered.- See Also:
-