Online Maps v3
Loading...
Searching...
No Matches
OnlineMapsGooglePlaces.RadarParams Class Reference

Request parameters for Radar Search. More...

Inheritance diagram for OnlineMapsGooglePlaces.RadarParams:
OnlineMapsGooglePlaces.RequestParams

Public Member Functions

 RadarParams (double longitude, double latitude, int radius)
 Constructor.
 
 RadarParams (Vector2 lnglat, int radius)
 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 name
 One or more terms to be matched against the names of places, separated by 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 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.
 
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.
 

Detailed Description

Request parameters for Radar Search.

Constructor & Destructor Documentation

◆ RadarParams() [1/2]

OnlineMapsGooglePlaces.RadarParams.RadarParams ( double longitude,
double latitude,
int radius )

Constructor.

Parameters
longitudeThe longitude around which to retrieve place information.
latitudeThe latitude around which to retrieve place information.
radiusDefines the distance (in meters) within which to return place results.
The maximum allowed radius is 50 000 meters.

◆ RadarParams() [2/2]

OnlineMapsGooglePlaces.RadarParams.RadarParams ( Vector2 lnglat,
int radius )

Constructor.

Parameters
lnglatThe longitude/latitude around which to retrieve place information.
radiusDefines the distance (in meters) within which to return place results.
The maximum allowed radius is 50 000 meters.