Created
March 26, 2013 21:53
-
-
Save phpmaps/5249656 to your computer and use it in GitHub Desktop.
ArcGIS JSAPI setRequestPreCallback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esri.setRequestPreCallback(updateAddressParameters); //goes in init() | |
function updateAddressParameters(ioArgs) { | |
if ( ioArgs.url.indexOf("findAddressCandidates") != -1) { | |
ioArgs.content["Single Line Input"] = "201 s jackson st, Seattle, 98104"; | |
} | |
return ioArgs; } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment