1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 11:29:53 +03:00

Cache assitnow offline data.

Allows for offline use.
This commit is contained in:
Marcelo Bezerra 2024-06-23 22:10:53 +02:00
parent 152124627c
commit a3778ae40f
3 changed files with 21 additions and 3 deletions

View file

@ -78,6 +78,7 @@ $(function() {
$('a', activeTab).trigger('click');
}
globalSettings.store = store;
globalSettings.unitType = store.get('unit_type', UnitType.none);
globalSettings.mapProviderType = store.get('map_provider_type', 'osm');
globalSettings.mapApiKey = store.get('map_api_key', '');
@ -85,6 +86,8 @@ $(function() {
globalSettings.proxyURL = store.get('proxyurl', 'http://192.168.1.222/mapproxy/service?');
globalSettings.proxyLayer = store.get('proxylayer', 'your_proxy_layer_name');
globalSettings.showProfileParameters = store.get('show_profile_parameters', 1);
globalSettings.assistnowOfflineData = store.get('assistnow_offline_data', []);
globalSettings.assistnowOfflineDate = store.get('assistnow_offline_date', 0);
updateProfilesHighlightColours();
var cliAutocomplete = store.get('cli_autocomplete', true);