selection generated by MgRenderingService::QueryFeatures() does not work properly?
I am using MgRenderingService::QueryFeatures(). But when:
- I use "A-code" to get layers from $map, I am able to run "C-code" part and 'echo $featureFilter . "<br/>";' outputs filters with features Id. Something like this:
- If I use "A-code" but comment out the "C-code" and uncomment "D-code". the server returns mgunclassifiedexception
- If I use "B-code" instead of "A-code", the server returns mginvalidmapdefinitionexception
Why I am not able to get FeatureReaders straight from MgSelection object? What can be wrong? Why it throws those exceptions?