...
Name | Type | Description |
width | string | Sets the width of the input box. This should be a standard HTML width setting, for example "100%" would fill the whole toolbar, "250px" would be 250 pixels wide. |
minScale | number | When the user chooses an result from the list the map will be zoomed to the extent of the chosen entity, this setting ensures that the map won't be zoomed in beyond the given scale. |
pageSize | number | This value changes the number of items that will be presented to the user as the results of the search, for example "8" will tell the client to display the top 8 results for the search. |
doSelect | boolean | The Weave client can be instructed to not update the current selection when the user chooses a result from the list, this allows the index input box to be used as a simple find tool without actually interacting with the active selection. The default for this is |
clearOthers | boolean | If |
doMarker | boolean | If set to |
doGeometry | boolean | If set to |
doMarkers | boolean | If set to |
doShowIcons | boolean | Display icons next to the search results, default is false. |
doTurnOnLayer | boolean | Should the layer associated with the entity, via the ToC model, be turned on when a result is selected? Default is false. Available from release 2.5.26. |
type | 'wildcard', 'fuzzy' or 'exact' | Change the type of search that's performed, default is 'wildcard'. 'exact' performs the search using the search term, 'wildcard' appends an * to the end of the search term and 'fuzzy' appends a ~ to the end of the search term. |
all | boolean | Default is false , when set to true indicates that all indexes should be searched, not just the indexes associated with the active entity, or indexes listed in the index attribute. |
index | string | A comma separated list of index names that should be searched. When this value is set only the indexes listed will be searched, rather than all indexes (if Note, this can also be a list of entities, rather than indexes, in which case all indexes associated with the listed entities will be searched. |
highlight | boolean | Should the results list highlight the part of the text that was matched in the search? Default is false. |
emptyText | string | The text to show in the field when nothing has been entered. i18n resource name is "indexcombo.emptyText" , and default value "Quick search". |
loadingText | string | The text to show in the field when the content is being loaded. i18n resource name is "indexcombo.loading" , and default value "Searching...". |
autoFocus | boolean | Should the index field get focus when the client starts up, default is true. |
Beyond these settings it is also possible to change the stroke and fill of the geometry (if doGeometry is true) by adding a 'geometryStyle' tag to the configuration. The geometryStyle tag can set the fill and/or stroke used to draw the entity geometry when it is drawn on the client, but it will not change the style when drawing the selection.
...