You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.map.configuration.layer.

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