Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.14 KB

Data.FeatureOptions.md

File metadata and controls

28 lines (15 loc) · 1.14 KB

See html formatted version

Data.FeatureOptions interface

google.maps.Data.FeatureOptions interface

Optional parameters for creating Data.Feature objects.

Properties

undefined

Type:  Data.Geometry|LatLng|LatLngLiteral optional

The 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.

undefined

Type:  number|string optional

Feature 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.

undefined

Type:  Object optional

The feature properties. This is an arbitrary mapping of property names to values.