|
Online Maps v3
|
Request parameters for Nearby Search. More...
Public Member Functions | |
| NearbyParams (double longitude, double latitude, int radius) | |
| Constructor. | |
| NearbyParams (Vector2 lnglat, int radius) | |
| Constructor. | |
| NearbyParams (string pagetoken) | |
| Constructor. | |
Public Attributes | |
| 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 return place results. The maximum allowed radius is 50 000 meters. | |
| string | keyword |
| A term to be matched against all content that Google has indexed for this place, including but not limited to name, type, and address, as well as customer reviews and other third-party content. | |
| string | language |
| The language code, indicating in which language the results should be returned, if possible. | |
| string | name |
| One or more terms to be matched against the names of places, separated with a space character. Results will be restricted to those containing the passed name values. Note that a place may have additional names associated with it, beyond its listed name. The API will try to match the passed name value against all of these names. As a result, places may be returned in the results whose listed names do not match the search term, but whose associated names do. | |
| string | types |
| Restricts the results to places matching the specified type. Only one type may be specified (if more than one type is provided, all types following the first entry are ignored). See the list of supported types: https://developers.google.com/places/documentation/supported_types. | |
| int? | minprice |
| Restricts results to only those places within the specified range. Valid values range between 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 range. Valid values range between 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. | |
| OnlineMapsFindPlacesRankBy? | rankBy |
| Specifies the order in which results are listed. | |
| 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 Nearby Search.
| OnlineMapsGooglePlaces.NearbyParams.NearbyParams | ( | double | longitude, |
| double | latitude, | ||
| int | radius ) |
Constructor.
| longitude | The longitude around which to retrieve place information. |
| latitude | The latitude around which to retrieve place information. |
| radius | Defines the distance (in meters) within which to return place results. The maximum allowed radius is 50 000 meters. |
| OnlineMapsGooglePlaces.NearbyParams.NearbyParams | ( | Vector2 | lnglat, |
| int | radius ) |
Constructor.
| lnglat | The longitude/latitude around which to retrieve place information. |
| radius | Defines the distance (in meters) within which to return place results. The maximum allowed radius is 50 000 meters. |
| OnlineMapsGooglePlaces.NearbyParams.NearbyParams | ( | string | pagetoken | ) |
Constructor.
| 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. |