Sovereign Posted October 24, 2018 Report Share Posted October 24, 2018 Hello We have a new VA Website with a subdomain xx.skyline-va.de. PHPVMS runs on another subdomain xy.skyline-va.de but on the same Server. I wanted to display the ACARS map on this page, but I get the following error: Uncaught ReferenceError: L is not defined at base_map.js:10 Uncaught ReferenceError: L is not defined at map.php:190 the code to display the map on the page: <?php MainController::Run('ACARS','index'); ?> and i included the follow phpvms files: <?php include('../../httpdocs/iCrew/core/codon.config.php'); include('../../httpdocs/iCrew/core/local.config.php'); ?> Have i forget a include or so? the full code: (include from phpvms are defined in the headers.php <?php include ('headers.php'); ?> <div class="tg-pushpage"> <!--************************************ Home Slider Start *************************************--> <div id="tg-innerbanner" class="tg-innerbanner"> <figure data-vide-bg="poster: https://i.ytimg.com/vi/jtAm-kgoZ_E/maxresdefault.jpg" data-vide-options="position: 0% 50%"> <figcaption> <div class="container-fluid"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <h1>Who's flying?</h1> <h2>This would be our Map</h2> </div> </div> </div> </figcaption> </figure> </div> <!--************************************ Home Slider End *************************************--> <!--************************************ Main Start *************************************--> <main id="tg-main" class="tg-main tg-haslayout"> <!--************************************ Contact Us Start *************************************--> <section class="tg-haslayout"> <div class="tg-contactus tg-bglight"> <div class="tg-mapprojectarea tg-bgwhite"> <div class="row no-gutters"> <div class="col-md-12"> <!--Begin ACARS MAP--> <?php MainController::Run('ACARS','index'); ?> <!--Begin ACARS MAP--> <center> <a href="index.php">Back</a> <!--Begin Flight Tracker Info Bar--> <?php MainController::Run('trackflight','index'); ?> <!--End Flight Tracker Info Bar--> </center> </div> </div> </div> </div> </div> </section> <!--************************************ Contact Us End *************************************--> </main> <!--************************************ Main End *************************************--> <?php include ('footers.php'); ?> Best regards, Jan Grimm Quote Link to comment Share on other sites More sharing options...
Nascoli Posted May 21, 2019 Report Share Posted May 21, 2019 Hi Jam, Did you solve the problem? I have the same problem. Best regards! Quote Link to comment Share on other sites More sharing options...
LeonardIGO4036 Posted May 30, 2020 Report Share Posted May 30, 2020 If this still was not fixed, you must include the Leaflet files (leaflet.css, leaflet.js etc) on the frontend too, wherever you're calling the map. Quote Link to comment Share on other sites More sharing options...
Strider Posted May 30, 2020 Report Share Posted May 30, 2020 I dont understand, you want the live map to show in a 3rd place? You have it on the frontend and in the crew center. You could try using an iframe or will need to code a link to the acars and put the code for your maps there. Quote Link to comment Share on other sites More sharing options...
PikoSim Posted June 15, 2020 Report Share Posted June 15, 2020 You can either use iframe or basically have 2 installation folder. But i would suggestion to use iframe. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.