AnsweredAssumed Answered

Custom Geocoder Service Not Working with Geocoder Widget

Question asked by archenil on Apr 17, 2014
Latest reply on Apr 17, 2014 by MKostuk-esristaff
Hello,

I was trying out the Geocoder widget tutorial with our own custom geocoder service but didn't have any luck getting it to work. Not sure if that has something to do with the options within the Geocode object OR the geocoder service configuration needs some tweaking...can someone point me in the right direction for this?


        var geocoder = new Geocoder({           arcgisGeocoder: false,           geocoders: [ {             url: "http://maps.hrsa.gov/arcgis/rest/services/Locators/HDWSMPComposite/GeocodeServer",             name: "Custom",             placeholder: "Find a place",             outFields: "Xmin, Xmax, Ymin, Ymax",             singleLineFieldName: "SingleLine"           }],            map: map         }, dom.byId("search")); 


Here's the full jsfiddle

Thanks,

Outcomes