Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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

  • Administrators
Posted

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...