AnsweredAssumed Answered

SourceCountry parameter has no effect in Geocoder

Question asked by shoe788 on Aug 21, 2014
Latest reply on Aug 21, 2014 by joshhevenor

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?

Outcomes