public class RadarSearchRequest extends MapObject
Constructor and Description |
---|
RadarSearchRequest()
Creates new RadarSearchRequest object.
|
RadarSearchRequest(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LatLngBounds |
getBounds()
Returns value of bounds property.
|
java.lang.String |
getKeyword()
Returns value of keyword property.
|
LatLng |
getLocation()
Returns value of location property.
|
java.lang.String |
getName()
Returns value of name property.
|
double |
getRadius()
Returns value of radius property.
|
java.lang.String[] |
getTypes()
Returns value of types property.
|
void |
setBounds(LatLngBounds value)
Sets new value for bounds property.
|
void |
setKeyword(java.lang.String value)
Sets new value for keyword property.
|
void |
setLocation(LatLng value)
Sets new value for location property.
|
void |
setName(java.lang.String value)
Sets new value for name property.
|
void |
setRadius(double value)
Sets new value for radius property.
|
void |
setTypes(java.lang.String[] value)
Sets new value for types property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public RadarSearchRequest()
@Deprecated public RadarSearchRequest(Map map)
map
- owner Map objectpublic LatLngBounds getBounds()
Contains the bounds used to bias results when searching for Places (optional). Both location and radius will be ignored if bounds is set. Results will not be restricted to those inside these bounds; but, results inside it will rank higher.
setBounds(com.teamdev.jxmaps.LatLngBounds)
public void setBounds(LatLngBounds value)
value
- new property valuegetBounds()
public LatLng getLocation()
Contains the center of the area used to bias results when searching for Places.
setLocation(com.teamdev.jxmaps.LatLng)
public void setLocation(LatLng value)
value
- new property valuegetLocation()
public java.lang.String[] getTypes()
Restricts the Place search results to Places with a type matching at least one of the specified types in this array. Valid types are given here.
setTypes(java.lang.String[])
public void setTypes(java.lang.String[] value)
value
- new property valuegetTypes()
public double getRadius()
Contains the radius of the area used to bias results when searching for Places, in meters.
setRadius(double)
public void setRadius(double value)
value
- new property valuegetRadius()
public java.lang.String getKeyword()
Contains a term to be matched against all available fields, including but not limited to name, type, and address, as well as customer reviews and other third-party content.
setKeyword(java.lang.String)
public void setKeyword(java.lang.String value)
value
- new property valuegetKeyword()
public java.lang.String getName()
Restricts results to Places that include this text in the name.
setName(java.lang.String)
public void setName(java.lang.String value)
value
- new property valuegetName()