Class TileLayer

    • Constructor Detail

      • TileLayer

        public TileLayer()
    • Method Detail

      • 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