In searchOptions, what is the content?
I set like this:)
<pre>
var searchOptions = {
locator: new Locator("http://pm2gcent6svr:6080/arcgis/rest/services/C_All_isj2015/GeocodeServer"),
singleLineFieldName: "SingleLine",
name: "Custom Geocoding Service",
localSearchOptions: {
minScale: 300000,
distance: 50000
},
placeholder: "Search Geocoder",
maxResults: 3,
maxSuggestions: 6,
enableSuggestions: true,
minCharacters: 0
};
</pre>
But directions object remain refering the default geocode site(geocode.arcgis.com).
How can I feed a custom feature geocoder/services ?
Thanks