Custom Preferences: Address Autocomplete Service - geo_addressing_sdk - 5.0

Geo Addressing SDK Developer Guide

Product type
Software
Portfolio
Locate
Product family
Geo Addressing
Product
Geo Addressing SDK
Version
5.0
Language
English
Product name
Geo Addressing SDK
Title
Geo Addressing SDK Developer Guide
Copyright
2023
First publish date
2007
Last edition
2024-09-12
Last publish date
2024-09-12T14:50:21.470801

Custom preferences supported by the Autocomplete Service are for use against any country dataset.

To create a custom preference for a POST request, follow this code snippet.

"preferences" : {
                "customPreferences" : {
                "<YOUR_CUSTOM_PREFERENCE>" : "true"
                }
Parameter Type Description

SEARCH_TYPE

String Custom preference to control search type of interactive requests.

default: ADDRESS_COMPLETION

possible values:
ADDRESS_COMPLETION,
POINT_OF_INTEREST_COMPLETION,  POINT_OF_INTEREST_NAME_COMPLETION,                       POINT_OF_INTEREST_CATEGORY_COMPLETION,
STATE_PROVINCE_COMPLETION,
WORLD_PLACES
ALL

COMPRESSED_AREA_RESULT

Boolean Limits the search to given administrative area. Default: false

KEY_CUSTOM_DICTIONARY_USAGE

String possible values:

PREFER_CUSTOM_DICTIONARIES, PREFER_STANDARD_DICTIONARIES,
USE_CUSTOM_DICTIONARIES_ONLY, USE_STANDARD_DICTIONARIES_ONLY

EXPANDED_RANGE_UNIT Boolean Custom preference to flatten the candidate ranges and units to individual candidates. Default value for EXPANDED_RANGE_UNIT is false, if set to true the candidates get flattened out.