struct

Google::Maps::RouteOptimization::Location

Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object

Encapsulates a location with coordinates and optional heading

Constructors

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

heading

Compass heading (0-360, where 0 is North)

lat_lng

The waypoint's geographic coordinates