gem.places. SearchPreferences

new SearchPreferences()

searchPreferences class

Methods

addLandmarkCategoryVector(landmarkcategorylist)

Add categories in which to search

Parameters:
NameTypeDescription
landmarkcategorylistgem.core.LandmarkCategoryList

setExactMatch(bVal)

Set/unset the exact match.

Parameters:
NameTypeDescription
bValboolean

setMaxMatches(nMaxMatches)

Sets the max number of matches.

Parameters:
NameTypeDescription
nMaxMatchesnumber

setReferencePoint(coordinates)

Set the references point.

Parameters:
NameTypeDescription
coordinatesgem.core.Coordinates

setSearchAddresses(bVal)

Enables or disables the search through the addresses.

Parameters:
NameTypeDescription
bValboolean

setSearchMapPOIs(bVal)

Enables or disables the search through map POIs.

Parameters:
NameTypeDescription
bValboolean

setSearchOnlyOnboard(bVal)

Set the flag for onboard search. If this flag is true then the search will be done using only onboard data. By default it is false.

Parameters:
NameTypeDescription
bValboolean

setThresholdDistance(nThresholdDistance)

Set the threshold distance for the operation. This may be used to control the reverse geocoding and search along route lookup area.

Parameters:
NameTypeDescription
nThresholdDistance*

setTimeout(timeoutMs)

Set the search operation time-out.

Parameters:
NameTypeDescription
timeoutMsnumber