At this time, there is only one layer specific configuration option for interactive map layers. Like all other layer types, you can include general information about the layer like the name, description and regional coverage information if applicable.
Auto-indexing is configured on by default. Auto-indexing automatically indexes a few select feature properties making it easier to search for and retrieve a specific subset of the data in your layer. Turning auto-indexing off enables you to index a custom set of feature properties to optimize your search results for your use case.
To configure a custom set of properties, turn auto-indexing off and add your custom properties as a list of strings to 'searchableProperties'. Searchable properties can be updated at any time.
It is also possible to both turn auto-indexing off and to not include any custom properties. Doing so would effectively create no index of feature properties. All benefits of easier searching would be voided but you would save storage cost because no index would be stored.
In a layer with less than 10,000 features all properties (including nested properties) are searchable.
To remove a value from the list, you must send an empty list, then update the layer with a list minus the value you want removed.
Some additional fields may be indexed by the system automatically which will not be visible in the 'searchableProperties' list.
The maximum number of searchable properties is eight. This is the maximum number of user-added and automatically indexed properties combined.