struct Google::Maps::RouteOptimization::Waypoint

Overview

Encapsulates a waypoint for visit locations and vehicle start/end points

Included Modules

Extended Modules

Defined in:

maps.cr

Constructors

Instance Method Summary

Macros inherited from module Google::Resource

define(name, *fields) define, field(var, key = nil, **options, &block) field, field!(var, key = nil, **options, &block) field!, field?(var, key = nil, **options, &block) field?

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(pull : MessagePack::Unpacker) #

Instance Method Detail

def location : Location | Nil #

A point specified using geographic coordinates


def place_id : String | Nil #

The POI Place ID associated with the waypoint


def side_of_road : Bool | Nil #

Indicates preference for vehicle to stop at particular side of road