Select to view content in your preferred language

Does anyone have a working example of a search box autocomplete using the Javascript API?

978
3
10-16-2014 09:55 AM
BenCamp
Deactivated User

I'm not interested in the geocoder widget, but rather an example that could be modified to search a list of named polygons (buildings, parcels, whatever) on a layer.  I did find one suitable example here in the forums but unfortunately for me it was not written in English.

Tags (2)
0 Kudos
3 Replies
ArnaudFERRAND1
Deactivated User

Hi John,

You can have a look at the twitter typehead lib:

typeahead.js

another example is the esri github.io page : Esri GitHub | Open Source and Example Projects from the Esri Developer Platform

We have a sample using typehead with an arcgisonline feature service here : typeahead.js – examples 

Hope this help !

Arno

BenCamp
Deactivated User

Arno

Thank you

Your example is exactly what I’m looking for.

0 Kudos
IsaiahAguilera
Frequent Contributor

I second the use of typeahead.js it is a great tool and pretty fast.  Here is a site I built using it for our search functionality you can check it out in action. 

0 Kudos