Air France / KLM Virtual Airlines

  • Our Airline
    • Home
    • Login
    • NOTAMs
    • Airline News
    • Fleet Gallery
    • Image Gallery
    • Le Ciel Entre Nous
    • Online Flights
    • Logged In Users
    • Our Partners
    • Issue Tracker
  • Pilot's Lounge
    • Academy Graduates
    • Online Events
    • Flight Tours
    • Forums
  • Our People
    • Join Us
    • Pilot Roster
    • Pilot Locations
    • View Logbooks
    • Pilot Accomplishments
    • Century Club
  • ACARS
    • Live ACARS Map
    • Google Earth
    • ACARS Flights
    • Dispatch Schedule
    • ACARS Track Map
    • Top Dispatchers
  • Statistics
    • Airline Totals
    • Flight Statistics
    • Online Statistics
    • Simulator Versions
    • Passenger Statistics
    • Landing Statistics
    • Optimal Landings
    • Server Statistics
  • Contact Us
    • Corporate Offices
    • Our Staff
    • Password Reset
    • Privacy Policy
    • Career Opportunities
DEVELOPMENT ISSUE #6,113 - Allow async map code loading
Reported by Luke Kolin (DVA043) on 04/16/2025 15:00 ET
Assigned To Luke Kolin (DVA043)
Issue Status Fixed on 04/17/2025 17:45 ET
Issue Priority Low
Airlines Air France Virtual, Delta Virtual Airlines
Security Public
Area Web Site
Issue Type Enhancement
Target Version 11.6
Issue Description Google maps code should be loaded async. This is already done in certain areas, but cannot be performed when additional libraries (MarkerManager, googleMapsWX, wxParsers) are needed since they depend on the Google Maps code to load and parse.

To allow async loading, the maps API callback should have an array of additional libraries needed. A set of promises will be created that call createScript() to dynamically load and insert these into the DOM. Once they are all complete, the map callback function should fire. The needed libraries can probably be passed as a list to the Maps API JSP tag, and they can be loaded synchronously since the promises are going to be fired off. (?? Validate)

Once Promises are created, use Promise.all([x,y,z]) to generate the Promise that returns on completion.
3 ISSUE COMMENTS
Luke Kolin (DVA043)
04/16/2025 15:07 ET
https://stackoverflow.com/questions/16230886/trying-to-fire-the-onload-event-on-script-tag
Luke Kolin (DVA043)
04/16/2025 15:19 ET
const p = new Promise(function(rsv, rej) { ... });

script.onload = rsv;
Luke Kolin (DVA043)
04/17/2025 17:45 ET
Added in Build 940.
 


Air France Virtual Airlines 2006 (Golgotha v11.6) Copyright © 2004 - 2025 Global Virtual Airlines Group. All Rights Reserved. (Build 943.1)
For flight simulation purposes only. Not a commercial website. In no way are we affiliated with Air France, KLM Royal Dutch Airlines, their affiliates or any other airline. All logos, images, and trademarks remain the property of their respective owners. Air France / KLM Virtual is a non-profit entity engaged in providing an avenue for flight simulation enthusiasts.