Select to view content in your preferred language

How do I get my QUERY FUNCTION RESULTS to work?

643
2
05-24-2017 12:53 AM
LauraBusolo2
Emerging Contributor

I am relatively new to JavaScript, and having trouble calling back my query function results. I'd like to return point graphics (highlight corresponding query when user clicks on item(s) from dropdown, as well as return a table with the results. 

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Laura,

   Well your issue with the query portion is you mention 

(highlight corresponding query when user clicks on item(s) from dropdown)

That will not be possible because you have:

query.returnGeometry = false;

Next the issue with your drive- time analysis seems to be:

driveTimeTool = new ConnectInputToOutput(params, "toolPane");

I don't see where you have ConnectInputToOutput defined anywhere in your code.

VinceAngelo
Esri Esteemed Contributor

Cross-posted to GIS StackExchange

0 Kudos