public abstract class Geometry
extends java.lang.Object
GeoJsonGeometry class that provides native
construction and manipulation without needing to manipulate multi-dimensional lists of
decimals.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FEATURE_TYPE |
| Constructor and Description |
|---|
Geometry() |
| Modifier and Type | Method and Description |
|---|---|
abstract com.google.api.services.mapsengine.model.Feature |
asFeature(java.util.Map<java.lang.String,java.lang.Object> properties)
Returns a Feature that can be used by the Maps Engine API.
|
static Geometry |
fromGeoJson(com.google.api.services.mapsengine.model.GeoJsonGeometry geoJsonGeometry)
Factory method for creating geometries from known GeoJsonGeometries.
|
public static final java.lang.String FEATURE_TYPE
public abstract com.google.api.services.mapsengine.model.Feature asFeature(java.util.Map<java.lang.String,java.lang.Object> properties)
properties - The properties to attach to the featurepublic static Geometry fromGeoJson(com.google.api.services.mapsengine.model.GeoJsonGeometry geoJsonGeometry)
geoJsonGeometry - The API-generated GeoJSON geometry