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
ConstructorDescriptionConstructs a new copyright provider, initialized usingaView
TLspBingMapsCopyrightProvider
(ILspView aView, ILcdBingMapsCopyrightListener aListener) Constructs a new copyright provider, initialized usingaView
-
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
-
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 benull
aListener
- 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:
-