Necolatis wrote:Do you know how to get the Canvas ND Framework radar to show only echoes that are inside a certain radarcone, instead of 360 deg around?
- Necolatis
yeah, there is a searchCmd method that serves as the "filter" for all echoes - you can add arbitrary heuristics/logic there to exclude targets based on range, azimuth, elevation etc
We kinda covered the whole thing in the "Canvas Radar" article, which goes into great detail on implementing custom filters to include/exclude targets based on such heuristics.
Depending on the layer you are working with, you need to open the corresponding "lcontroller" file in $FG_ROOT/Nasal/canvas/map - e.g. TFC for AI/MP traffic. Anyway, like I said the Canvas Radar article has tons of details covering this sort of thing