GoogleApi.VectorTile.V1.Model.Feature (google_api_vector_tile v0.5.0) 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() | nil,
  geometry: GoogleApi.VectorTile.V1.Model.Geometry.t() | nil,
  placeId: String.t() | nil,
  relations: [GoogleApi.VectorTile.V1.Model.Relation.t()] | nil,
  segmentInfo: GoogleApi.VectorTile.V1.Model.SegmentInfo.t() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.