Package com.google.maps.android.data
Interface DataPolygon<T>
-
- Type Parameters:
T
- the type of Polygon - GeoJsonPolygon or KmlPolygon
- All Superinterfaces:
Geometry
- All Known Implementing Classes:
GeoJsonPolygon
,KmlPolygon
public interface DataPolygon<T> extends Geometry
An interface containing the common properties ofGeoJsonPolygon
andKmlPolygon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.util.List<com.google.android.gms.maps.model.LatLng>>
getInnerBoundaryCoordinates()
Gets an array of arrays of inner boundary coordinatesjava.util.List<com.google.android.gms.maps.model.LatLng>
getOuterBoundaryCoordinates()
Gets an array of outer boundary coordinates-
Methods inherited from interface com.google.maps.android.data.Geometry
getGeometryObject, getGeometryType
-
-
-
-
Method Detail
-
getOuterBoundaryCoordinates
java.util.List<com.google.android.gms.maps.model.LatLng> getOuterBoundaryCoordinates()
Gets an array of outer boundary coordinates- Returns:
- array of outer boundary coordinates
-
getInnerBoundaryCoordinates
java.util.List<java.util.List<com.google.android.gms.maps.model.LatLng>> getInnerBoundaryCoordinates()
Gets an array of arrays of inner boundary coordinates- Returns:
- array of arrays of inner boundary coordinates
-
-