I have started adding a MapStructure layer that processes /sim/tutorials/tutorial so that things can be visualized on a map, this is intended for supporting "mission briefings".
For now, I am just processing "targets" - which would be the equivalent of mission waypoints. Optionally, we can provide additional meta information, such as a label/description, but also a custom SVG symbol that is to be used on the map (e.g. different symbols for traffic, airports, obstacles or vessels). I am hoping to register a listener, so that this can be dynamically changed (labels but also symbols) while the tutorial is running.
In addition, I am thinking of also supporting "models", because that would be straightforward - targets & models both have latitude/longitude pairs, so can be easily put on a map, with some added information.
I don't yet know if I find any sane way to also visualize individual steps, but that would be pretty cool, even though it would require turning the static map into some kind of animated mission briefing, where individual stages are chained together and replayed. To pull this off, I think the only thing required is coming up with a custom aircraftposition.controller that we can directly control - analogous to the AI traffic driver, just with a focus on iterating through all stages and using the corresponding position properties to animate the map accordingly.
Ideas / thoughts, questions ?