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