Select to view content in your preferred language

autocomplete functionality with multiple map service

1398
4
05-03-2017 09:39 PM
PrasadG
Deactivated User

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
Frequent Contributor
0 Kudos
AndrewFarrar
Frequent 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
Deactivated User

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

0 Kudos
AndrewFarrar
Frequent Contributor

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

0 Kudos