google.maps.Data.FeatureOptions
interface
Optional parameters for creating Data.Feature objects.
| Properties | |
|---|---|
geometry |
Type:
Data.Geometry|LatLng|LatLngLiteral optionalThe feature geometry. If none is specified when a feature is constructed, the feature's geometry will be null. If a LatLng object or LatLngLiteral is given, this will be converted to a Data.Point geometry. |
id |
Type:
number|string optionalFeature ID is optional. If provided, it can be used to look up the feature in a Data object using the getFeatureById() method. Note that a feature's ID cannot be subsequently changed. |
properties |
Type:
Object optionalThe feature properties. This is an arbitrary mapping of property names to values. |