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.
Cross-posted to GIS StackExchange
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<SPAN class="punctuation token">.</SPAN>returnGeometry <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">false</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
Next the issue with your drive- time analysis seems to be:
driveTimeTool <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">ConnectInputToOutput</SPAN><SPAN class="punctuation token">(</SPAN>params<SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"toolPane"</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
I don't see where you have ConnectInputToOutput defined anywhere in your code.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.