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")); Solved! Go to Solution.
var geocoder = new Geocoder({
arcgisGeocoder: false,
geocoders: [ {
url: "http://maps.hrsa.gov/arcgis/rest/services/Locators/HDWSMPComposite/GeocodeServer",
name: "HDW",
placeholder: "Find a place",
outFields: "Xmin, Xmax, Ymin, Ymax",
singleLineFieldName: "SingleLine"
}],
autoComplete: true,
map: map
}, dom.byId("search"));
Hey Archenil,
Can you elaborate on what the issue is? I took a look at your code in jsfiddle and it seems like your custom geocoding widget is working like a champ.
-Marla