01-18-2017 02:01 PM - edited 01-18-2017 10:26 PM
FIGURED IT OUT using
$GP.queries.find to find total number of queries...
Using the Fancy Tooltips example, if i add a filter so only states with temperature of 60 or higher will be selected and run example, the correct states have pins added. But then if i change the filter to "<" and "AVETEMP", 50, and run the example again, the same result is displayed. What code has to be changed to show the result of a subsequent query? I am using the exact example except for adding a filter each time before running it again. If i add the query to the legend, the correct points are displayed after each filter change but the pins never change although they erase before re-drawing.
operands: ["AVETEMP", 60],
Solved! Go to Solution.
01-19-2017 03:25 AM
Each time you use $GP.queries.add() you get a generated query object in the callback. So for me the best way would be to save the AnalysisID of this Query into some globally defined variable.