com.google.maps.clients.mapsengine.geojson
public class MultiPoint extends Geometry
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Point> |
points |
FEATURE_TYPE| Constructor and Description |
|---|
MultiPoint(com.google.api.services.mapsengine.model.Feature feature)
Converts the provided Feature into a typed MultiPoint, discarding properties.
|
MultiPoint(java.util.List<Point> points)
Constructs a MultiPoint based on the collection of points provided.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.util.List<Point> |
getPoints() |
fromGeoJsonprotected final java.util.List<Point> points
public MultiPoint(java.util.List<Point> points)
points - The points representing this Geometrypublic MultiPoint(com.google.api.services.mapsengine.model.Feature feature)
throws java.lang.IllegalArgumentException
feature - the Feature returned by the APIjava.lang.IllegalArgumentException - when feature is not a multi-pointpublic java.util.List<Point> getPoints()
public com.google.api.services.mapsengine.model.Feature asFeature(java.util.Map<java.lang.String,java.lang.Object> properties)