<commit_before>/**
 * flights
 *
 * Array of flight objects. (see addFlight method)
 */
var flights = [];


/**
 * top_flight
 *
 * Defines which flight should be handled first
 */
var top_flight = 0;


/**
 * barogram_t and barogram_h
 *
 * {Array(Array(double))} - contains time and height values for the barogram.
 */
var barogram_t = [];
var barogram_h = [];


/**
 * colors
 *
 * List of colors for flight path display
 */
var colors = ['#bf2fa2', '#2f69bf', '#d63a35', '#d649ff'];


/**
 * Function initOpenLayers
 *
 * Initialize the map and add airspace and flight path layers.
 *
 * Returns:
 * {Object} Map
 */

function initOpenLayers() {
  OpenLayers.ImgPath = "/images/OpenLayers/"

  var map = new OpenLayers.Map("map_canvas", {
    projection: "EPSG:900913",<commit_msg>public.js.flights: change track colors a bit<commit_after>/**
 * flights
 *
 * Array of flight objects. (see addFlight method)
 */
var flights = [];


/**
 * top_flight
 *
 * Defines which flight should be handled first
 */
var top_flight = 0;


/**
 * barogram_t and barogram_h
 *
 * {Array(Array(double))} - contains time and height values for the barogram.
 */
var barogram_t = [];
var barogram_h = [];


/**
 * colors
 *
 * List of colors for flight path display
 */
//var colors = ['#bf2fa2', '#2f69bf', '#d63a35', '#d649ff'];
var colors = ['#004bbd', '#bf0099', '#cf7c00', '#ff0000', '#00c994'];

/**
 * Function initOpenLayers
 *
 * Initialize the map and add airspace and flight path layers.
 *
 * Returns:
 * {Object} Map
 */

function initOpenLayers() {
  OpenLayers.ImgPath = "/images/OpenLayers/"

  var map = new OpenLayers.Map("map_canvas", {
    projection: "EPSG:900913",
{'fraction_non_alphanumeric': 0.15550239234449761, 'fraction_numerical': 0.03409090909090909, 'mean_word_length': 3.5338753387533877, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7459641', 'n_tokens_mistral': 619, 'n_tokens_neox': 568, 'n_words': 165}