struct

Google::Maps::RouteOptimization::LatLng

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

Represents a latitude/longitude pair using WGS84 standard

Constructors

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

Instance methods

latitude

Must be in range [-90.0, +90.0]

longitude

Must be in range [-180.0, +180.0]