A KML file contains station information as a placemark.
The script TrackStationConnector extracts track information and converts it to a proper input format.
TrafficControl has a function that is analysing the input file, and if it finds a station with coordinates, it will call a function that creates the QML station
The QML item iscreated by calling a JavaScript in the QML part
This code is probably redundant, I will try to remove it later.
Finally, the JavaScript in a separate file creates the QML item.
No comments:
Post a Comment