Package 

Class GeoJsonGeometryCollection

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

    
    public class GeoJsonGeometryCollection
    extends MultiGeometry
                        

    A GeoJsonGeometryCollection geometry contains a number of GeoJson Geometry objects.

    • Method Summary

      Modifier and Type Method Description
      String getType() Gets the type of geometry.
      List<Geometry> getGeometries() Gets the stored Geometry objects
      • Methods inherited from class com.google.maps.android.data.MultiGeometry

        getGeometryObject, getGeometryType, setGeometryType, toString
      • Methods inherited from class com.google.maps.android.data.Geometry

        getGeometryObject
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeoJsonGeometryCollection

        GeoJsonGeometryCollection(List<Geometry> geometries)
        Creates a new GeoJsonGeometryCollection object
        Parameters:
        geometries - array of Geometry objects to add to the GeoJsonGeometryCollection
    • Method Detail

      • getType

         String getType()

        Gets the type of geometry. The type of geometry conforms to the GeoJSON 'type'specification.