I am trying to query all features within the layer that have a value of 3 in the field called "mag". I'm supposed to get the length of the features in the query result when I console.log. This should not be 0.
But I am getting a result of 0, implying that I didn't get the query correct. What should my query statement query.where = "mag = 3"; be changed to here?