lorlandi Posted April 8, 2020 Report Share Posted April 8, 2020 Hello all, after couple of years i'm back again. Well, i made the conversions to openstreet map, in the page schedule route map all is nice and good but in mi old pireps when i look the route just show the tower in departure and arrival airport no route made. Have any an idea whow can i solve that issue. Thanks Quote Link to comment Share on other sites More sharing options...
GazzT3074 Posted April 9, 2020 Report Share Posted April 9, 2020 Hi All, Hope you are all doing well and staying safe. Im trying the conversion to leaflet maps and think I am nearly there, could anyone tell me where I have gone wrong as the maps are showing as grey with the Leaflet name in the corner. This can be seen at http://simplymagpie.co.uk/index.php/acars Many thanks, Gary Quote Link to comment Share on other sites More sharing options...
miniarma Posted April 9, 2020 Report Share Posted April 9, 2020 27 minutes ago, GazzT3074 said: Hi All, Hope you are all doing well and staying safe. Im trying the conversion to leaflet maps and think I am nearly there, could anyone tell me where I have gone wrong as the maps are showing as grey with the Leaflet name in the corner. This can be seen at http://simplymagpie.co.uk/index.php/acars Many thanks, Gary Have you followed the github and transferred all the relative files over ? Any issues give us a private massage. Im in the UK Quote Link to comment Share on other sites More sharing options...
GazzT3074 Posted May 15, 2020 Report Share Posted May 15, 2020 Still having the same issue, can anyone point me in the right direction please. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted May 15, 2020 Administrators Report Share Posted May 15, 2020 Do the conversion and apply to the crystal skin. Change your site skin to crystal to check it. If it works on crystal and not on your present skin, contact the skin developer to help you out. What skin are you using? Quote Link to comment Share on other sites More sharing options...
flyalaska Posted May 16, 2020 Report Share Posted May 16, 2020 did you add the code in the local.config? Quote Link to comment Share on other sites More sharing options...
GazzT3074 Posted May 20, 2020 Report Share Posted May 20, 2020 Hi All, Its a custom skin that was applied by my webmaster, and @flyalaska I did add it to the config as stated in the instructions Thanks Gary Quote Link to comment Share on other sites More sharing options...
mahir Posted May 20, 2020 Report Share Posted May 20, 2020 26 minutes ago, GazzT3074 said: Hi All, Its a custom skin that was applied by my webmaster, and @flyalaska I did add it to the config as stated in the instructions Thanks Gary Can you provide url of your website ? Quote Link to comment Share on other sites More sharing options...
GazzT3074 Posted May 28, 2020 Report Share Posted May 28, 2020 On 5/20/2020 at 1:28 PM, mahir said: Can you provide url of your website ? http://simplymagpie.co.uk Thanks, Gary Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted May 28, 2020 Administrators Report Share Posted May 28, 2020 Does it work if you change the skin back to the default crystal skin? Quote Link to comment Share on other sites More sharing options...
mahir Posted June 10, 2020 Report Share Posted June 10, 2020 On 5/28/2020 at 1:35 PM, GazzT3074 said: http://simplymagpie.co.uk Thanks, Gary Is there anything known as <?php echo url('js/leaflet-providers.js') ?> in any of the following files? acarsmap.php layout.php app_top.php header.php Quote Link to comment Share on other sites More sharing options...
ARV187 Posted April 29, 2021 Report Share Posted April 29, 2021 Updated OSM for flown_routes_map from Discord by Justin RR <div id="routemap" style="width: 100%; height: 800px;"></div> <script src="<?php echo SITE_URL?>/lib/js/base_map.js"></script> <script type="text/javascript"> const map = createMap({ render_elem: 'routemap', provider: '<?php echo Config::Get("MAP_TYPE"); ?>', }); var latlngs = [ <?php $shown = array(); foreach($allschedules as $route) { // Dont show repeated routes if(in_array($route->code.$route->flightnum, $shown)) continue; else $shown[] = $route->code.$route->flightnum; if(empty($route->arrlat) || empty($route->arrlng) || empty($route->deplat) || empty($route->deplng)) { continue; } ?> [ new L.LatLng(<?php echo $route->deplat; ?>, <?php echo $route->deplng; ?>), new L.LatLng(<?php echo $route->arrlat; ?>, <?php echo $route->arrlng; ?>), ], <?php } ?> ]; const pointsLayer = L.geodesic(latlngs, { weight: 2, opacity: 0.5, color: '#2e4a66', steps: 10 }).addTo(map); </script> Quote Link to comment Share on other sites More sharing options...
YusufBudi Posted May 19, 2021 Report Share Posted May 19, 2021 hello..... can somebody direct me how to change the route map displayed when i click the route on the pilot's pirep detail on the Admin panel? I could manage to convert the map on the va site, but not on this particular map in the admin panel... i've attached the map results from the same pirep, one from the pilot's logbook, and one from the admin pilot pirep list thanks... version 5.5.2.72 php7.2 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.