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

Represents a 2D polyline. Used to represent segments such as roads, train tracks, etc.

Attributes

  • vertexOffsets (type: GoogleApi.VectorTile.V1.Model.Vertex2DList.t, default: nil) - The vertices present in the polyline.
  • zOrder (type: integer(), default: nil) - The z-order of the line. Lines with a lower z-order should be rendered beneath lines with a higher z-order. This z-ordering does not imply anything about the altitude of the area relative to the ground, but it can be used to prevent z-fighting during rendering on the client. In general, larger and more important road features will have a higher z-order line associated with them. This z-ordering can only be used to compare lines, and cannot be compared with the z_order field in the Area message. The z-order may be negative or zero.

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.Line{
  vertexOffsets: GoogleApi.VectorTile.V1.Model.Vertex2DList.t(),
  zOrder: integer()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.