AnsweredAssumed Answered

WHERE clause

Question asked by jay.kapalczynski on Nov 15, 2018
Latest reply on Nov 16, 2018 by rscheitlin

I thought I could do this with the 3.25 api

 

Does not seem to work....do I have to do a query?

 

var RailroadCrossings = new FeatureLayer("https://fragis.fra.dot.gov/fragis/rest/services/FRAGradeXing/MapServer/0", {
     mode: FeatureLayer.MODE_ONDEMAND,
     visible: false,
     opacity: 0.5,
     outFields:["*"],
     where:"POSXING='1'"
});

Outcomes