I'm trying to use a javascript locator object with a geocode server of ArcGIS Online: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Locators/ESRI_Geocode_EU/GeocodeServer
When I call the method locator.addressToLocations(options)
, I get the cross-origin problem.
Is there a way to avoid this?