|
Online Maps v3
|
Request parameters for Text Search. More...
Public Member Functions | |
| TextParams (string query) | |
| Contstructor. | |
Public Attributes | |
| string | query |
| The text string on which to search, for example: "restaurant". The Google Places service will return candidate matches based on this string and order the results based on their perceived relevance. | |
| double? | longitude |
| The longitude around which to retrieve place information. | |
| double? | latitude |
| The latitude around which to retrieve place information. | |
| int? | radius |
| Defines the distance (in meters) within which to bias place results. The maximum allowed radius is 50 000 meters. Results inside of this region will be ranked higher than results outside of the search circle; however, prominent results from outside of the search radius may be included. | |
| string | language |
| The language code, indicating in which language the results should be returned, if possible. | |
| string | types |
| Restricts the results to places matching at least one of the specified types. Types should be separated with a pipe symbol (type1|type2|etc). See the list of supported types: https://developers.google.com/maps/documentation/places/supported_types. | |
| int? | minprice |
| Restricts results to only those places within the specified price level. Valid values are in the range from 0 (most affordable) to 4 (most expensive), inclusive. The exact amount indicated by a specific value will vary from region to region. | |
| int? | maxprice |
| Restricts results to only those places within the specified price level. Valid values are in the range from 0 (most affordable) to 4 (most expensive), inclusive. The exact amount indicated by a specific value will vary from region to region. | |
| bool? | opennow |
| Returns only those places that are open for business at the time the query is sent. Places that do not specify opening hours in the Google Places database will not be returned if you include this parameter in your query. | |
| string | pagetoken |
| Returns the next 20 results from a previously run search. Setting a pagetoken parameter will execute a search with the same parameters used previously — all parameters other than pagetoken will be ignored. | |
| bool? | zagatselected |
| Add this parameter (just the parameter name, with no associated value) to restrict your search to locations that are Zagat selected businesses. This parameter must not include a true or false value. The zagatselected parameter is experimental, and is only available to Google Places API customers with a Premium Plan license. | |
Properties | |
| Vector2 | lnglat [get, set] |
| The longitude/latitude around which to retrieve place information. | |
Request parameters for Text Search.
| OnlineMapsGooglePlaces.TextParams.TextParams | ( | string | query | ) |
Contstructor.
| query | The text string on which to search, for example: "restaurant". The Google Places service will return candidate matches based on this string and order the results based on their perceived relevance. |