AnsweredAssumed Answered

VEGeocoder No Longer Working

Question asked by mhoover12 on May 17, 2012
Latest reply on May 17, 2012 by DSwingley-esristaff
I've just recently discovered that code I had previously been using no longer works.  It leverages the VEGeocoder class.  Below is the offending code:

//Draw and zoom to the result when the geocoding is complete         dojo.connect(veGeocoder, "onAddressToLocationsComplete", function (geocodeResults) {             var pointMeters = esri.geometry.geographicToWebMercator(geocodeResults[0].location);             var pointSymbol = new esri.symbol.SimpleMarkerSymbol().setSize(15).setColor(new dojo.Color("blue"));             var font = new esri.symbol.Font().setSize("17pt");             var textSymbol = new esri.symbol.TextSymbol(geocodeResults[0].displayName, font, new dojo.Color("black")).setOffset(0, 8);             _that.searchMapGraphics.add(new esri.Graphic(pointMeters, pointSymbol));             _that.searchMapGraphics.add(new esri.Graphic(pointMeters, textSymbol));             map.setExtent(esri.geometry.geographicToWebMercator(geocodeResults[0].bestView));         });          var query = Ext.getCmp('searchTextField').getValue();         veGeocoder.addressToLocations(query);

The callback function never fires it seems.  There has been no change to this code from the working version.  Is anyone else experiencing this?  Is this a problem on Bing's side perchance?  Any advice would be helpful.