autocomplete functionality with multiple map service

1247
4
05-03-2017 09:39 PM
PrasadG
New Contributor II

hi...

     I have multiple map Services(nearly 15 map services and many fields) and requirement is to get all fields value in to autocomplete and perform to zoom when we sleeted any one  field. I tried but problem to get all fields in to autocomplete.

0 Kudos
4 Replies
MiriamBrockmann
Occasional Contributor
0 Kudos
AndrewFarrar
Occasional Contributor

ESRI's "Search" dijit has this functionality you described.  You can hook it up to multiple sources and feed it fields to autocomplete as the user is typing.

This is available in v.3 & v.4.

API references below:

Search | API Reference | ArcGIS API for JavaScript 3.20

Search | API Reference | ArcGIS API for JavaScript 4.3 

0 Kudos
PrasadG
New Contributor II

Thanks Andrew...ya may be this is only option

0 Kudos
AndrewFarrar
Occasional Contributor

Not a problem Prasad.  If this works for you, be sure to mark it as the answer.  

0 Kudos