AnsweredAssumed Answered

Geocoder - how to go to value at startup?

Question asked by NazareneResearch on Jul 28, 2014
Latest reply on Jul 29, 2014 by NazareneResearch

I am specifying a value for input textbox of the geocoder. It is a field (geoPlace) that is calculated. It fills in the textbox just fine. I would like for it to then automatically zoom to that place at startup. Is there a way to do this? It seems like I should use geocoder.find() but I haven't been successful.

 

    geocoder = new Geocoder({

        map: map,

        value: geoPlace

    }, "search");

    geocoder.startup();

Outcomes