Class MultiGeoPolygon

  • All Implemented Interfaces:
    GeoData

    public class MultiGeoPolygon
    extends MultiGeoData<GeoPolygon>
    A MultiGeoPolygon can contain multiple polygons. Each polygon can contain multiple path, including one outer ring and some inner rings.
    • Constructor Detail

      • MultiGeoPolygon

        public MultiGeoPolygon()
    • Method Detail

      • addGeoPolygon

        public void addGeoPolygon​(GeoPolygon polygon)
        Add GeoPolygon object into list.
        Parameters:
        polygon - a GeoPolgy object
      • getPolygons

        public java.util.List<GeoPolygon> getPolygons()
        Return all the polygon objects.
        Returns:
        List of GeoPolygon objects.
      • getGeoType

        public int getGeoType()
        Description copied from interface: GeoData
        Returns the map object type. The value of the object type is from EnumMapFeatures map object types.
        Returns:
        a EnumMapFeatures map object type.