ngalford

VEGeocoder not seeing addressToLocations variable

Discussion created by ngalford on Jan 24, 2013
Latest reply on Jan 25, 2013 by ngalford
i'm sending a variable into the VE geocoder and during inspection of the process. The string value is passed properly into the parameters, but the search is not executed based on the search bouncing off a "null" value instead of the object being passed. If I use the
ESRI geolocation service everything works perfectly.

 gcTrial = new esri.virtualearth.VEGeocoder({
        bingMapsKey: userConfig.bingMapsKey,
        environment: environment,
        tokenDuration: duration
    });

---------------------

gcTrial.addressToLocations(query); 

Outcomes