google_api_vector_tile v0.2.0 GoogleApi.VectorTile.V1.Model.Feature View Source

A feature representing a single geographic entity.

Attributes

  • displayName (type: String.t, default: nil) - The localized name of this feature. Currently only returned for roads.
  • geometry (type: GoogleApi.VectorTile.V1.Model.Geometry.t, default: nil) - The geometry of this feature, representing the space that it occupies in the world.
  • placeId (type: String.t, default: nil) - Place ID of this feature, suitable for use in Places API details requests.
  • relations (type: list(GoogleApi.VectorTile.V1.Model.Relation.t), default: nil) - Relations to other features.
  • segmentInfo (type: GoogleApi.VectorTile.V1.Model.SegmentInfo.t, default: nil) - Metadata for features with the SEGMENT FeatureType.
  • type (type: String.t, default: nil) - The type of this feature.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.VectorTile.V1.Model.Feature{
  displayName: String.t(),
  geometry: GoogleApi.VectorTile.V1.Model.Geometry.t(),
  placeId: String.t(),
  relations: [GoogleApi.VectorTile.V1.Model.Relation.t()],
  segmentInfo: GoogleApi.VectorTile.V1.Model.SegmentInfo.t(),
  type: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.