AnsweredAssumed Answered

How to avoid Cross Domain problem when trying to use ArcGIS Online Geocode server?

Question asked by yo_haha on Jan 9, 2015
Latest reply on Jan 12, 2015 by HHeijenga-esristaff

Hello

 

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-domain problem.

Is there a way to avoid this?

Outcomes