1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//! The **Place Autocomplete** service is a web service that returns place
//! predictions. The request specifies a textual search string and optional
//! geographic bounds. The service can be used to provide autocomplete
//! functionality for text-based geographic searches, by returning places such
//! as businesses, addresses and points of interest as a user types.
//!
//! ## Note: Server-side and client-side libraries
//!
//! * The Places API is also available with the [Java Client, Python Client, Go
//! Client and Node.js Client for Google Maps Services](https://developers.google.com/maps/documentation/places/web-service/client-library).
//! The Places API and the client libraries are for use in server applications.
//!
//! * If you're building a client-side application, take a look at the [Places
//! SDK for Android](https://developers.google.com/maps/documentation/places/android-sdk),
//! the [Places SDK for iOS](https://developers.google.com/maps/documentation/places/ios-sdk),
//! and the [Places Library, Maps JavaScript API](https://developers.google.com/maps/documentation/javascript/places).
//!
//! # [Place Autocomplete requests](https://developers.google.com/maps/documentation/places/web-service/autocomplete#place_autocomplete_requests)
//!
//! * The Place Autocomplete service is part of the Places API and shares an
//! [API key](https://developers.google.com/maps/documentation/places/web-service/get-api-key)
//! and quotas with the [Places API](https://developers.google.com/maps/documentation/places/web-service/overview).
//!
//! * **Note**: You can use Place Autocomplete even without a map. If you do
//! show a map, it must be a Google map. When you display predictions from the
//! Place Autocomplete service without a map, you must include the
//! '[Powered by Google](https://developers.google.com/maps/documentation/places/web-service/policies#logo_requirements)'
//! logo displayed inline with the search field/results.
//!
//! The Place Autocomplete service can match on full words and substrings,
//! resolving place names, addresses, and [plus codes](https://plus.codes/).
//! Applications can therefore send queries as the user types, to provide
//! on-the-fly place predictions.
//!
//! The returned predictions are designed to be presented to the user to aid
//! them in selecting the desired place. You can send a [Place Details
//! request](https://developers.google.com/maps/documentation/places/web-service/details#PlaceDetailsRequests)
//! for more information about any of the places which are returned.
// -----------------------------------------------------------------------------
pub use crate;