Methods
(static) getNextAddressDetailLevel(landmark) → {vector.<number>}
Parameters:
Name | Type | Description |
---|---|---|
landmark | gem. |
Returns:
- Type:
- vector.<number>
(static) searchAlongRouteEM(searchString, callbackfunction, route, resultedLandmarks, searchPreferences)
Search along a route
Parameters:
Name | Type | Description |
---|---|---|
searchString | string | |
callbackfunction | * | |
route | gem. | |
resultedLandmarks | gem. | |
searchPreferences | gem. |
(static) searchByAddress(searchString, detailLevel, parentLandmark, callbackfunction, resultedLandmarks, maximumResults, allowFuzzyResults, searchOnlyOnBoard)
Parameters:
Name | Type | Description |
---|---|---|
searchString | string | search string |
detailLevel | gem. | detail level |
parentLandmark | gem. | parent landmark |
callbackfunction | * | callback function |
resultedLandmarks | gem. | resulted Landmarks |
maximumResults | number | maximum number of results |
allowFuzzyResults | boolean | allow fuzzy results |
searchOnlyOnBoard | boolean | search only on board |
(static) searchFor(searchString, coordinatesTopLeft, coordinatesBottomRight, callbackfunction, resultedLandmarks, pointOfInterest)
Search for a specific string, in a specified Area(top left / top right coordinates)
Parameters:
Name | Type | Description |
---|---|---|
searchString | string | |
coordinatesTopLeft | gem. | |
coordinatesBottomRight | gem. | |
callbackfunction | * | |
resultedLandmarks | gem. | |
pointOfInterest | gem. | Point of interest.You can use the cursor positon as input, request it via by call getCursorPositionWGS , on MapView object |
(static) searchForWithPreferences(searchString, coordinatesTopLeft, coordinatesBottomRight, callbackfunction, resultedLandmarks, searchPreferences)
Search for a specific string,in a specified Area (top left / top right coordinates) with more control over the search preferences.
Parameters:
Name | Type | Description |
---|---|---|
searchString | string | |
coordinatesTopLeft | gem. | |
coordinatesBottomRight | gem. | |
callbackfunction | * | |
resultedLandmarks | gem. | |
searchPreferences | gem. |
(static) searchNearby(coordinates, callbackfunction, resultedLandmarks, searchPreferences)
Request to search for nearby Landmarks(POIs)
Parameters:
Name | Type | Description |
---|---|---|
coordinates | gem. | |
callbackfunction | * | |
resultedLandmarks | gem. | |
searchPreferences | gem. | Search Preferences |
(static) searchPoiCategory(landmarkCategoryList, coordinates, callback, resultedLandmarks, distanceRadiusMetersopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
landmarkCategoryList | gem. | ||
coordinates | gem. | ||
callback | * | ||
resultedLandmarks | gem. | ||
distanceRadiusMeters | number | <optional> |