elferen1 Posted March 2, 2012 Report Share Posted March 2, 2012 Hello, Is there a way to change the maps from Google to Bing Maps? I've been searching in the 'acarsmap.tpl'. The only interesting thing that I think I should change is: var acars_map_defaults = { autozoom: true, zoom: 4, center: new google.maps.LatLng("<?php echo Config::Get('MAP_CENTER_LAT'); ?>", "<?php echo Config::Get('MAP_CENTER_LNG'); ?>"), mapTypeId: google.maps.MapTypeId.TERRAIN, refreshTime: 10000 }; Thanks in advantage, Martijn Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 2, 2012 Administrators Report Share Posted March 2, 2012 There are the entire acars functions in lib/js/acarsmap.js that also need changing. Not a small task Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted March 2, 2012 Moderators Report Share Posted March 2, 2012 What's wrong with Google Maps? Quote Link to comment Share on other sites More sharing options...
elferen1 Posted March 2, 2012 Author Report Share Posted March 2, 2012 There are the entire acars functions in lib/js/acarsmap.js that also need changing. Not a small task Okay thanks. I'll just keep Google Maps. What's wrong with Google Maps? Nothing actually. But I really like Bing's Aerial view. Quote Link to comment Share on other sites More sharing options...
druptown Posted March 3, 2012 Report Share Posted March 3, 2012 well, there is actually something wrong with google maps. PHPVMS has a module called routesmap, you can use it to show all schedules you have on a map if you remove the limit in the module. Which I did. It worked great......, untill we passed the 10000 schedules. Now it's only a blank page. It seems that googlemaps can 't handle the amount of markers/polylines. It only has to draw 60000 markers and 30000 polylines Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 5, 2012 Administrators Report Share Posted March 5, 2012 well, there is actually something wrong with google maps. PHPVMS has a module called routesmap, you can use it to show all schedules you have on a map if you remove the limit in the module. Which I did. It worked great......, untill we passed the 10000 schedules. Now it's only a blank page. It seems that googlemaps can 't handle the amount of markers/polylines. It only has to draw 60000 markers and 30000 polylines Yeah, I'm sure there is some limit. When you load that maps page, if you look in the console under FF or Chrome, are there any errors thrown? Quote Link to comment Share on other sites More sharing options...
druptown Posted March 5, 2012 Report Share Posted March 5, 2012 Uncaught SyntaxError: Unexpected identifier Nothing more, it happens as soon as you exceed 10000 schedules approx. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 6, 2012 Administrators Report Share Posted March 6, 2012 No line number or anything? Quote Link to comment Share on other sites More sharing options...
druptown Posted March 8, 2012 Report Share Posted March 8, 2012 no linenumber 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.