-
- All Implemented Interfaces:
-
com.google.maps.android.data.DataPolygon,com.google.maps.android.data.Geometry
@Deprecated(message = Use the new platform-agnostic data layer and renderer instead.) public final class GeoJsonPolygon implements DataPolygon<LatLng>
A GeoJsonPolygon geometry contains an array of arrays of LatLngs. The first array is the polygon exterior boundary. Subsequent arrays are holes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classGeoJsonPolygon.Companion
-
Constructor Summary
Constructors Constructor Description GeoJsonPolygon(List<List<LatLng>> coordinates)
-
Method Summary
Modifier and Type Method Description final StringgetType()final List<List<LatLng>>getCoordinates()List<List<LatLng>>getGeometryObject()StringgetGeometryType()List<LatLng>getOuterBoundaryCoordinates()List<List<LatLng>>getInnerBoundaryCoordinates()StringtoString()-
-
Method Detail
-
getCoordinates
final List<List<LatLng>> getCoordinates()
-
getGeometryObject
List<List<LatLng>> getGeometryObject()
-
getGeometryType
String getGeometryType()
-
getOuterBoundaryCoordinates
List<LatLng> getOuterBoundaryCoordinates()
-
getInnerBoundaryCoordinates
List<List<LatLng>> getInnerBoundaryCoordinates()
-
-
-
-