searchOptions | object | <optional>
| PropertiesName | Type | Description |
---|
highlightOptions | object | customize search result highlight on map options PropertiesName | Type | Description |
---|
showContour | bool | default true, show search result contour if available | contourColor | object | search result highlight contour color, default {r: 255, g: 0, b: 0, a: 255} | overlap | bool | default true, overlap highlight over existing map data | noFading | bool | default false, disable highlight fading in / out | group | bool | default false, group landmarks | searchResultPin | bool | default true - use search result pin icon, if false - highlight result landmark icon |
| searchPreferences | object | customize search preferences PropertiesName | Type | Description |
---|
exactMatch | bool | default true | maximumMatches | number | no. of search results to display, default 5, maximum 5 | addressSearch | bool | default false | mapPoisSearch | bool | default false | mapEnvelope | object | default entire map, map area in which to restrict the search results PropertiesName | Type | Description |
---|
topLeft | gem.core.Coordinates | default {latitude: 90, longitude: -180, altitude: 0, bearing: 0} | bottomRight | gem.core.Coordinates | default {latitude: -90, longitude: 180, altitude: 0, bearing: 0} |
| setCursorReferencePoint | bool | default false( reference point is center of map envelope ), if set to true the search reference coordinate is set at the last cursor position | placeholderText | string | set custom placeholder text for search box |
| searchResults | object | options for configuring the free text search results PropertiesName | Type | Attributes | Default | Description |
---|
showLandmarkIcons | bool | | | default false | initialPlaceSearch | string | | | default no value, specify a start-up location | flyToResultAltitude | number | <optional>
| 1000 | fly to result altitude in meters |
| cssClasses | object | specify custom style rules classes PropertiesName | Type | Description |
---|
container | string | | inputContainer | string | | inputText | string | | searchIcon | string | | searchLoader | string | | searchClear | string | | searchFocus | string | | searchResults | string | | searchResultItem | string | | searchResultCanvas | string | | searchResultContent | string | | searchResultTitle | string | | searchResultType | string | |
|
|