Where/how do i specify i want the response with English (or at least translieterated) fields using locationToAddress ?
var locator = new Locator("https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer");
var infoTemplate = new InfoTemplate("Location", "Address: ${Address}");
....code
locator.on("location-to-address-complete", function(evtl) {
if (evtl.address.address) {
...code
}
});
I found how to do so with the API call, but not in javascript like this, can someone please put me on the right tracks?
thanks