AnsweredAssumed Answered

js api: Is there a way to trigger the geocoder widget to search autmatically

Question asked by gilbertgis on Aug 12, 2015
Latest reply on Aug 20, 2015 by gilbertgis

I am calling a js app from another page, and I want to pass in an address string.  I am able to do that and populate the text box in the geocoder widget, but I don't know of a way to trigger the search.  The user has to press the search button to get the map to zoom to the address location.

 

I basically need to find a way to trigger the "select" event, but so far haven't been able to figure that out.  I am fairly new to javascript, so I may be overlooking something.  Or maybe there's a better tool to do this with?

Outcomes