struct Google::Maps::RouteOptimization::RouteModifiers

Overview

Route modifiers affecting road usage and vehicle speed

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 avoid_ferries : Bool | Nil #

Whether to avoid ferries


def avoid_highways : Bool | Nil #

Whether to avoid highways


def avoid_indoor : Bool | Nil #

Whether to avoid indoor navigation (WALKING only)


def avoid_tolls : Bool | Nil #

Whether to avoid toll roads