Search widget multiple sources with menu groups

1766
2
05-06-2016 01:33 PM
BhavinSanghani
Occasional Contributor II

Is there any way to combine source menu groups with Search widget? It looks like each source item will always be displayed with 'Search' widget menu.

Search multiple sources | ArcGIS API for JavaScript

I want to define two menu groups with Search widget - Address and Layers. When address is selected then perform address search to multiple geocoding services I define as source. When layer is selected then perform feature search to multiple feature layers.

0 Kudos
2 Replies
PanagiotisPapadopoulos
Esri Regular Contributor

you can set two search widgets (address and layers search)

having the one visible false according to the user option.

0 Kudos
BhavinSanghani
Occasional Contributor II

For layers, we can't configure multiple feature layers with single menu item.

0 Kudos