Initializes a new tile source instance configured with the specified AMP layer code and tile url template string.
The receiver's data source.
Whether the data source is enabled.
Data key associated with the data source.
Returns the animation associated with the static layer.
Identifier associated with the data source.
Identifier associated with the data source.
Underlying map layer instance that is added to a map view
Current timestamp to use when requesting tile data
Current timestamp to use when requesting tile data
Tile template URL
Animation Provider
Returns whether the listeners are registered for the specified event name.
Hides the tile layer.
Returns whether the source is currently visible.
Removes a registered listener function for the specified event.
Name of the event to remove the listener for.
Handler function to remove so it won't be executed next time the event is triggered.
Registers a listener function to be executed each time an event occurs
Name of the event to listen for. Value can contain multiple event names separated by spaces to trigger the same handler function for each event name.
Handler function to be called when the event occurs
Registers a listener function to be executed the first time an event occurs.
Name of the event to listen for. Value can contain multiple event names separated by spaces to trigger the same handler function for each event name.
Handler function to be called when the event occurs
Updates the opacity of the tile layer.
Updates the z-index order of the tile layer on the parent map view.
Shows the tile layer.
Triggers the specified event so that all registered listeners will be executed with the specified parameters.
Event name to trigger
Returns the url template string to use for tile requests based on the current timestamp.
Generated using TypeDoc
TileSource
is an abstract object that is responsible for managing a single tile layer on a map view and providing additional functionality for the layer, such as controlling a layer's opacity and loading and running animations.This class is intended to be subclassed by each supported mapping strategy in order to configure the appropriate underlying layer instance that is added to the strategy's map view.