Page 1 of 1

[closed] Please help with a map

Posted: Mon Feb 10, 2020 3:46 pm
by Ingensor
Good afternoon! Please tell me how to properly configure the map AQX.
The fact that the map has tiles only where there are objects. Where there are no objects - there is an icon that the map is not loaded. Although there is simply not on the server blank tiles. (Screenshot below)

Here is the map code:

<?xml version="1.0" encoding="utf-8" ?>
<aqx version="7">

<name>Яндекс Народная Карта</name>
<description>Яндекс Народная Карта</description>

<source id="UnyZf0i1" layer="true">
<name>Дороги</name>
<data-source>https://n.maps.yandex.ru</data-source>
<copyright>© Яндекс</copyright>
<region>WRLD</region>
<type>OTHE</type>
<preview-location>37.6,55.75,15</preview-location>
<level>
<ignore-errors>*</ignore-errors>
<projection-name>mercator</projection-name>
<projection-geoid>wgs 84</projection-geoid>
<zoom-values>6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21</zoom-values>
<update-delay>1M</update-delay>
<referer><![CDATA[https://n.maps.yandex.ru/#!/?z=9&ll=37. ... l=nk%23sat]]></referer>
<server><![CDATA[https://01.core-nmaps-renderer-nmaps.ma ... 142&token=]]></server>
<server><![CDATA[https://02.core-nmaps-renderer-nmaps.ma ... 142&token=]]></server>
<server><![CDATA[https://03.core-nmaps-renderer-nmaps.ma ... 142&token=]]></server>
<server><![CDATA[https://04.core-nmaps-renderer-nmaps.ma ... 142&token=]]></server>
</level>
</source>
</aqx>


If you do without a line "<ignore-errors> * </ ignore-errors>", then the entire map in a sad face.

Help please, tell me how to remove icons and sad smiles... Once then you can ignore the missing tiles? Thanks in advance!

Re: Please help with a map

Posted: Mon Feb 10, 2020 6:56 pm
by Psyberia-Support
Hi,
What is the problem with "<ignore-errors>*</ignore-errors>" ?
Depending on how the server respond when there is no tile, you may also use "<ignore-errors>204</ignore-errors>". The code 204 means "no content", servers usually use this code when they don't return a tile because it's empty.

Re: Please help with a map

Posted: Tue Feb 11, 2020 9:26 am
by Ingensor
Hello!
<Ignore-errors>*</ ignore-errors> - it helps only sad smiles (screen 1), but remain icons of unloaded tiles (screen 2)
How to remove icons unloaded tiles?



Image Image

Re: Please help with a map

Posted: Tue Feb 11, 2020 12:01 pm
by Psyberia-Support
You can use this user settings:

Code: Select all

maps.features.onlinemaps.status.display_offline=false

Re: Please help with a map

Posted: Tue Feb 11, 2020 12:44 pm
by Ingensor
Thank you for helping me these settings:

Code: Select all

maps.features.onlinemaps.status.display_offline=0
maps.features.onlinemaps.status.display_unavailable=0
But when the offline-mode - the icons reappear. (screenshot)
Icons can be somehow removed from offline-mode???

Image

Re: Please help with a map

Posted: Tue Feb 11, 2020 5:42 pm
by Psyberia-Support
Right now you cannot disable this.
But I can add an user setting for next update.

Re: Please help with a map

Posted: Tue Feb 11, 2020 7:49 pm
by Ingensor
It would be very useful... for example hide all icons completely... Thank you very much, I will wait for the update!
I am very glad that you are listening to the people and make the program better and better!!!

Re: Please help with a map

Posted: Fri Feb 14, 2020 12:03 pm
by Ingensor
The latest beta version of 233 - no icon in offline-mode, everything appears fine... Thank you!!!!! :) :) :) :)

Re: [closed] Please help with a map

Posted: Fri Feb 14, 2020 5:19 pm
by Psyberia-Support
Thanks for the feedback.