Skip to content

Commit

Permalink
Set default locator's proxy URL (SingleLineSearch).
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfranco committed Feb 28, 2013
1 parent b97ee0b commit 37a9583
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/com/esri/viewer/components/SingleLineSearch.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@
if (configXML.geocoding.@usedefaultlocator[0] != "false")
{
geocoder.useDefaultLocator = true;
if (useProxy && configData.proxyUrl)
{
geocoder.defaultLocatorProxyURL = configData.proxyUrl;
}
}
//backwards compatibility
Expand Down

0 comments on commit 37a9583

Please sign in to comment.