AnsweredAssumed Answered

JS API: sourceCountry in Geocoder has no effect

Question asked by shoe788 on Aug 20, 2014
Latest reply on Dec 5, 2014 by schlot

Using this sample...

ArcGIS API for JavaScript Sandbox

change the geocoder as follows...


    geocoder = new Geocoder({

          autoComplete: true,

          map: map ,

          arcgisGeocoder: {

                    sourceCountry: "USA"


    }, "search");


typing anything into the geocoder still causes it to match addresses from other countries.


Is there a workaround for this?