elferen1 Posted March 2, 2012 Report 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
Administrators Nabeel Posted March 2, 2012 Administrators Report Posted March 2, 2012 There are the entire acars functions in lib/js/acarsmap.js that also need changing. Not a small task Quote
Moderators Kyle Posted March 2, 2012 Moderators Report Posted March 2, 2012 What's wrong with Google Maps? Quote
elferen1 Posted March 2, 2012 Author Report 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
druptown Posted March 3, 2012 Report 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
Administrators Nabeel Posted March 5, 2012 Administrators Report 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
druptown Posted March 5, 2012 Report Posted March 5, 2012 Uncaught SyntaxError: Unexpected identifier Nothing more, it happens as soon as you exceed 10000 schedules approx. Quote
Administrators Nabeel Posted March 6, 2012 Administrators Report Posted March 6, 2012 No line number or anything? Quote
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.