GoogleApi.Places.V1.Model.GoogleMapsPlacesV1SearchTextRequestLocationRestriction (google_api_places v0.11.0)
View SourceThe region to search. This location serves as a restriction which means results outside given location will not be returned.
Attributes
-
rectangle
(type:GoogleApi.Places.V1.Model.GoogleGeoTypeViewport.t
, default:nil
) - A rectangle box defined by northeast and southwest corner.rectangle.high()
must be the northeast point of the rectangle viewport.rectangle.low()
must be the southwest point of the rectangle viewport.rectangle.low().latitude()
cannot be greater thanrectangle.high().latitude()
. This will result in an empty latitude range. A rectangle viewport cannot be wider than 180 degrees.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1SearchTextRequestLocationRestriction{ rectangle: GoogleApi.Places.V1.Model.GoogleGeoTypeViewport.t() | nil }