All Implemented Interfaces:
Serializable, Evented, SupportsMouseEvents, HasStyle, Identifiable, LayerPopupFunctions, LayerTooltipFunctions, ExecutableFunctions, PathFunctions

public class MultiPolyline extends Polyline
A class for drawing multi polyline overlays on a map.
See Also:
  • Constructor Details

    • MultiPolyline

      public MultiPolyline(MultiLatLngArray latlngs)
      Instantiates a multi polyline from the given structure of coordinates, where each element represents a separate polyline.
      Parameters:
      latlngs - the coordinates of each polyline
  • Method Details

    • getLatlngs

      public GeometryStructure getLatlngs()
      Gets the geographical points that make up this polyline.
      Overrides:
      getLatlngs in class Polyline
      Returns:
      the coordinates of the polyline
    • getLeafletType

      public String getLeafletType()
      Returns the Leaflet type name of this object, used to instantiate the matching class on the client side.
      Overrides:
      getLeafletType in class LeafletObject
      Returns:
      the Leaflet type name