Package mil.nga.geopackage.map.geom
Class MultiPolygon
java.lang.Object
mil.nga.geopackage.map.geom.MultiPolygon
Multiple Polygon object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a polygonGet the polygonsvoidremove()Remove from the mapvoidsetPolygons(List<Polygon> polygons) Set the polygonsvoidsetVisible(boolean visible) Set visibility on the mapvoidsetZIndex(float zIndex) Set the z index
-
Constructor Details
-
MultiPolygon
public MultiPolygon()
-
-
Method Details
-
add
Add a polygon- Parameters:
polygon- polygon
-
getPolygons
Get the polygons- Returns:
- list of polygons
-
setPolygons
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
-