Class TLspBingMapsCopyrightProvider
java.lang.Object
com.luciad.format.bingmaps.copyright.lightspeed.TLspBingMapsCopyrightProvider
This class informs its listeners of copyright updates for all Bing Maps layers in an
ILspView.
Based on the current visible bounds of the view, it selects the relevant TLcdBingMapsCopyrightHolders from the
model.
- Since:
- 2012.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new copyright provider, initialized usingaViewTLspBingMapsCopyrightProvider(ILspView aView, ILcdBingMapsCopyrightListener aListener) Constructs a new copyright provider, initialized usingaView -
Method Summary
Modifier and TypeMethodDescriptionvoidRegisters a callback to be notified when the copyright info changes.voidUnregisters a callback or does nothing if the passed callback isn't registered.
-
Constructor Details
-
TLspBingMapsCopyrightProvider
Constructs a new copyright provider, initialized usingaView- Parameters:
aView- The view the Bing Maps layers are visualized in. Must not benull
-
TLspBingMapsCopyrightProvider
Constructs a new copyright provider, initialized usingaView- Parameters:
aView- The view the Bing Maps layers are visualized in. Must not benullaListener- a initial callback to be registered, can benull
-
-
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:
-