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 VectorLayer

    • Constructor Detail

      • VectorLayer

        public VectorLayer()
    • Method Detail

      • getSource

        public Source getSource()

        Returns:

        source for this layer, null by default

      • setSource

        public void setSource​(VectorSource source)

        Sets the source for this layer. The source must be a subclass of VectorSource, which means that it must provide vector data.

        Parameters:

        source - the new source for the layer, not null