All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FeatureLayer

public class VectorLayer extends Layer
Layer for rendering vector data client-side
See Also:
  • Constructor Details

    • VectorLayer

      public VectorLayer()
  • 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 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