Interface GOverlayContainer

  • All Known Implementing Classes:
    GMap, GMapStateless

    public interface GOverlayContainer
    • Method Detail

      • addOverlay

        GOverlayContainer addOverlay​(GOverlay child)
        Adds a child component to this container.
        Parameters:
        child - The child
        Returns:
        This
        Throws:
        IllegalArgumentException - Thrown if a child with the same id is replaced by the add operation.
      • removeOverlay

        GOverlayContainer removeOverlay​(GOverlay overlay)
        Remove an overlay.
        Parameters:
        overlay - overlay to remove
        Returns:
        This
      • removeAllOverlays

        GOverlayContainer removeAllOverlays()
        Clear all overlays.
        Returns:
        This
      • getOverlays

        List<GOverlay> getOverlays()
        Returns:
        all overlay's