Package 

Class KmlPolygon

  • All Implemented Interfaces:
    com.google.maps.android.data.DataPolygon , com.google.maps.android.data.Geometry

    
    public class KmlPolygon
     implements DataPolygon<ArrayList<ArrayList<LatLng>>>
                        

    Represents a KML Polygon. Contains a single array of outer boundary coordinates and an array of arrays for the inner boundary coordinates.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static String GEOMETRY_TYPE
    • Constructor Summary

      Constructors 
      Constructor Description
      KmlPolygon(List<LatLng> outerBoundaryCoordinates, List<List<LatLng>> innerBoundaryCoordinates) Creates a new KmlPolygon object
    • Constructor Detail

      • KmlPolygon

        KmlPolygon(List<LatLng> outerBoundaryCoordinates, List<List<LatLng>> innerBoundaryCoordinates)
        Creates a new KmlPolygon object
        Parameters:
        outerBoundaryCoordinates - single array of outer boundary coordinates
        innerBoundaryCoordinates - multiple arrays of inner boundary coordinates