Class MultiPolygon

java.lang.Object
mil.nga.geopackage.map.geom.MultiPolygon

public class MultiPolygon extends Object
Multiple Polygon object
  • Constructor Details

    • MultiPolygon

      public MultiPolygon()
  • Method Details

    • add

      public void add(Polygon polygon)
      Add a polygon
      Parameters:
      polygon - polygon
    • getPolygons

      public List<Polygon> getPolygons()
      Get the polygons
      Returns:
      list of polygons
    • setPolygons

      public void setPolygons(List<Polygon> polygons)
      Set the polygons
      Parameters:
      polygons - list of polygons
    • remove

      public void remove()
      Remove from the map
    • setVisible

      public void setVisible(boolean visible)
      Set visibility on the map
      Parameters:
      visible - visibility flag
      Since:
      1.3.2
    • setZIndex

      public void setZIndex(float zIndex)
      Set the z index
      Parameters:
      zIndex - z index
      Since:
      2.0.1