Faban Hamans Posted October 24, 2010 Report Share Posted October 24, 2010 Hoi maybe you can help me Live map wil now update every 59 seconds. Is there a way to set the update speed faster? Like 10 seconds. And if the answer is Yes how can i change it With frendy greetings Va-Surfcity® Fabian Hamans Quote Link to comment Share on other sites More sharing options...
BastiDE Posted October 25, 2010 Report Share Posted October 25, 2010 Hey, search the arcarsmap.tpl and look for line 43 refreshTime: Time, in seconds * 1000 to refresh the map. The default is 10000 (10 seconds) */ ?> var acars_map_defaults = { autozoom: true, zoom: 5, 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: 60000 }; Here (Line 43) can you change the refresh time. For 10 seconds you need this code: refreshTime: Time, in seconds * 1000 to refresh the map. The default is 10000 (10 seconds) */ ?> var acars_map_defaults = { autozoom: true, zoom: 5, 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 }; But mostly Acars-Systems send only every minute the data. This you cant change! Hope I can help you. Basti 1 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.