AnsweredAssumed Answered

autocomplete working with geocoder

Question asked by on Jun 20, 2013
Latest reply on Jun 21, 2013 by
I am not able to get autocomplete to work, It works fine when I build an application with ArcGIS viewer for flex but when I build an application with the same geocode service with arcgis api for javascript ( it doesn't work.
Here is my code:
var myGeocoders = [{
             url: locatorUrl,
             name: "geocode_thjonusta_single",
      singleLineFieldName: "SingleLineCityName"

        var geocoder = new esri.dijit.Geocoder({
          map: map,
          autocomplete: true,
          arcgisGeocoder: false,
          geocoders: myGeocoders