Hello experts,I'm using firebug to step through my app. I am using a single time slider (with only one thumb) to query two feature layers loaded into seperate maps. I've followed the samples but my code seems to die on the first line in my connector method; query = new esri.tasks.Query();query is a public variable and I have included the necessary dojo.require for the query task. I can't catch the error with a try catch either. Anyone know what's going on?Code below. Thanks,Jamestry {
//Connect time slider events
dojo.connect(timeSlider, "onTimeExtentChange", function(timeExtent) {
query = new esri.tasks.Query();
query.timeExtent = timeExtent;
flITIS.queryFeatures(query, function(featureSet) {
//empty function for now
});
flLCAP.queryFeatures(query, function(featureSet) {
//empty function for now
});
});
} catch(err) {
alert("Error: " + err.message + ", Line #" + err.lineNumber);
}