Package mil.nga.geopackage.map.geom
Class MultiPolygon
java.lang.Object
mil.nga.geopackage.map.geom.MultiPolygon
Multiple Polygon object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a polygonGet the polygonsvoid
remove()
Remove from the mapvoid
setPolygons
(List<Polygon> polygons) Set the polygonsvoid
setVisible
(boolean visible) Set visibility on the mapvoid
setZIndex
(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
-