public class PointFeature extends Feature
Feature.FeatureType
Modifier and Type | Field and Description |
---|---|
Location |
location
The location of this point feature.
|
properties
Constructor and Description |
---|
PointFeature()
Creates a PointFeature.
|
PointFeature(Location location)
Creates a PointFeature with a single location.
|
Modifier and Type | Method and Description |
---|---|
Location |
getLocation()
Returns the single location of this point feature.
|
void |
setLocation(Location location)
Sets the single location of this point feature.
|
addProperty, getId, getIntegerProperty, getProperties, getProperty, getStringProperty, getType, putProperty, setId, setProperties
public Location location
public PointFeature()
public PointFeature(Location location)
location
- The location.