All Implemented Interfaces:
Serializable

public class TileLayer extends Layer
Layer for displaying tiled map data
See Also:
  • Constructor Details

    • TileLayer

      public TileLayer()
  • Method Details

    • getType

      public String getType()
      Description copied from class: AbstractConfigurationObject
      The unique type name of this class. Used by the client-side synchronization mechanism to determine which OpenLayers class to synchronize into.
      Specified by:
      getType in class AbstractConfigurationObject
    • getSource

      public TileSource getSource()
      Returns:
      source for this layer, null by default
    • setSource

      public void setSource(UrlTileSource source)
      Sets the source for this layer. The source must be a subclass of TileSource, which means that it must provide tiled map data.
      Parameters:
      source - the new source for the layer, not null