Page 1 of 1

Use only local storage

Posted: Wed Jan 29, 2020 2:12 pm
by alexlong
Hi and many thanks for AlpineQuest.
Some 4pda_ru AlpineQuest users proposed to add an ability to use local storage not only for all installed maps but for every map.
Now we can check the option in MAPS & LAYERS section and select Use ony local storage. It is for all maps on the screen.
Offline-1.jpg
(67.25 KiB) Downloaded 584 times
Users proposed to add this option to every map installed so that they could either use every map as offline or not. For example I have an aqx map and I used it, it is filled with cache. At some moment I want this particular map working only offline without being filled with new cahce. Now I can not do it, I can only use local storage for all maps. Users offer to make it for every map.
Offline-2.jpg
(59.67 KiB) Downloaded 584 times

Re: Use only local storage

Posted: Mon Feb 03, 2020 2:44 pm
by Psyberia-Support
Hi Alex,
Yes I understand what you mean.
Currently the only way to change the settings of a particular map is to edit the .AQX file.
The application is not yet able to modify it. This is why you need to save a favorite set after modifying the color or anything of a map.
Hopefully in the future I'll be able to add this ability.

But until then, you need to manually edit the .AQX:
- Remove the "<update-delay>" tag, so the application will never update data;
- Remove the "<server>" tag(s), so the application will not download any data anymore for this map.

Re: Use only local storage

Posted: Mon Feb 03, 2020 8:47 pm
by alexlong
Hi, François.
I would like to add that aqx files should be modified in the datastore directory (datastore → custom maps or datastore → workspaces)

Instead of removing tags users can apply HTML Comment Tag

Code: Select all

<!--  Do not display it at the moment  -->
Examples:

Code: Select all

<!--  <update-delay>3M</update-delay>  -->

Code: Select all

<!--
<server><![CDATA[https://1.base.maps.api.here.com/maptile/2.1/maptile/newest/normal.day/{$z}/{$x}/{$y}/256/png8?lg=ENG&token=TrLJuXVK62IQk0vuXFzaig%3D%3D&requestid=yahoo.prod]]></server>
<server><![CDATA[https://2.base.maps.api.here.com/maptile/2.1/maptile/newest/normal.day/{$z}/{$x}/{$y}/256/png8?lg=ENG&token=TrLJuXVK62IQk0vuXFzaig%3D%3D&requestid=yahoo.prod]]></server>
<server><![CDATA[https://3.base.maps.api.here.com/maptile/2.1/maptile/newest/normal.day/{$z}/{$x}/{$y}/256/png8?lg=ENG&token=TrLJuXVK62IQk0vuXFzaig%3D%3D&requestid=yahoo.prod]]></server>
<server><![CDATA[https://4.base.maps.api.here.com/maptile/2.1/maptile/newest/normal.day/{$z}/{$x}/{$y}/256/png8?lg=ENG&token=TrLJuXVK62IQk0vuXFzaig%3D%3D&requestid=yahoo.prod]]></server> -->

Re: Use only local storage

Posted: Tue Feb 04, 2020 8:44 am
by Psyberia-Support
Absolutely!