Rob,It's strange where and geometry both return features but only geometry derived results draw. Seems like something might be up with your callback function. Try adding a an errback function to see if something is up. This will not only show errors from the server, but will also expose processing errors in the callback function which will otherwise not be logged in the console.featureLayer.selectFeatures(query, esri.layers.FeatureLayer.SELECTION_NEW, HandleRouteSelectFeaturesResults, errorFunction);
function errorFunction(error) {
console.log(error)
}
Also, here's a list of mix ins for esri.layers.FeatureLayer modes. Saves quite a bit of space. 😉
featureLayer.selectFeatures(query, 3, callback, errback);
//feature layer modes
//MODE_SNAPSHOT:0
//MODE_ONDEMAND:1
//MODE_SELECTION:2
//SELECTION_NEW:3
//SELECTION_ADD:4
//SELECTION_SUBTRACT:5
//POPUP_NONE:"esriServerHTMLPopupTypeNone"
//POPUP_HTML_TEXT:"esriServerHTMLPopupTypeAsHTMLText"
//POPUP_URL:"esriServerHTMLPopupTypeAsURL"