When hill-shading is on, some map tiles are occasionally not loaded from some zoom-level down. It seams that it happens to the same tiles.
The empty tile is loaded when hill-shading and overlay is turned off/on or when I scroll out of the missing tile and back.
See next videos and bug report.
https://drive.google.com/file/d/0B98rO91GOxZrQVFxVjBPZGNTU2c/view?usp=sharing
https://drive.google.com/file/d/0B98rO91GOxZrTUluVHgtNTJpWnc/view?usp=sharing
Happens to all kinds of maps (online, personal, vector) and personal overlay.
Hint: See what happens in blend-mode: overlay.
Thanks, m
Note: with overlays, it happens much more often/likely and is better reproducable. But it happens without overlays as well.
Note: with overlays, it happens much more often/likely and is better reproducable. But it happens without overlays as well.
Hi myneur, thanks for report. I've merged your issue with this, already existing.
I'm aware of this issue for a .. well, quite a long time. Anyway because it happen really rare, I wasn't yet able to find out real reason why this happen. Anyway issue is in my mind and just waits for correct moment :). Fortunately zoom in/out or move of map fix this annoying issue. Sorry for that
Hi myneur, thanks for report. I've merged your issue with this, already existing.
I'm aware of this issue for a .. well, quite a long time. Anyway because it happen really rare, I wasn't yet able to find out real reason why this happen. Anyway issue is in my mind and just waits for correct moment :). Fortunately zoom in/out or move of map fix this annoying issue. Sorry for that
I also wanted to second that it does this everytime when I use an
overlay. I have noticed that it will always load the colored tiles in my
overlay (mbtiles), but the transparent tiles in the overlay are where
the map does not load.
The green shaded areas in the attached pics are from my overlay for reference.
I also wanted to second that it does this everytime when I use an
overlay. I have noticed that it will always load the colored tiles in my
overlay (mbtiles), but the transparent tiles in the overlay are where
the map does not load.
The green shaded areas in the attached pics are from my overlay for reference.
I found a work around for anyone having this same issue when using overlays. I am using mbtiles, but it may work with other formats as well.
You can add a boundary polygon around your area and add a 99.99% transparent white fill. This will force Locus to generate a tile that will load in those areas. The white fill is not even noticeable.
If you are using Tilemill, add these lines to a boundary polygon:
polygon-fill:#fff;
polygon-opacity:0.01;
I found a work around for anyone having this same issue when using overlays. I am using mbtiles, but it may work with other formats as well.
You can add a boundary polygon around your area and add a 99.99% transparent white fill. This will force Locus to generate a tile that will load in those areas. The white fill is not even noticeable.
If you are using Tilemill, add these lines to a boundary polygon:
polygon-fill:#fff;
polygon-opacity:0.01;
Hi Peter,
are able to share any problematic map? Additional information would be also helpful:
- format of map (*.sqlitedb, *.tar, ?)
- Path to the folder where are located the problematic maps.
- Are all problematic maps located in the same folder?
Thank you
Regards Petr
Hi Peter,
are able to share any problematic map? Additional information would be also helpful:
- format of map (*.sqlitedb, *.tar, ?)
- Path to the folder where are located the problematic maps.
- Are all problematic maps located in the same folder?
Thank you
Regards Petr
Both maps (Kosice, Arco) are available at https://drive.google.com/folderview?id=0B0nIBPG_hX51V0k2V1lUd1BGNjQ&usp=sharing (but i this happens with all 4 of my offline maps).
Biggest
map - Kosice - exhibits first reported refresh failure (only at zoom
level 16 - only when panning, possible to erase completely), remaining
3 smaller maps only miss area corners - some parts around corners are refreshed when
panning in/out, some parts stay unpainted, never possible to erase
completely. Usually the unpainted areas stay unpainted after zoom
in/out.
Path: /storage/emulated/0/Locus/maps
Yes - all 4 maps in the same folder.
PS: Reply to email returns "Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain asamm.com by aspmx.l.google.com."
Both maps (Kosice, Arco) are available at https://drive.google.com/folderview?id=0B0nIBPG_hX51V0k2V1lUd1BGNjQ&usp=sharing (but i this happens with all 4 of my offline maps).
Biggest
map - Kosice - exhibits first reported refresh failure (only at zoom
level 16 - only when panning, possible to erase completely), remaining
3 smaller maps only miss area corners - some parts around corners are refreshed when
panning in/out, some parts stay unpainted, never possible to erase
completely. Usually the unpainted areas stay unpainted after zoom
in/out.
Path: /storage/emulated/0/Locus/maps
Yes - all 4 maps in the same folder.
PS: Reply to email returns "Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain asamm.com by aspmx.l.google.com."
Hello Peter,
The corner/border areas.
That is how Locus works. Let me explain the steps how tiles are shown:
- When you zoom-in Locus quickly re-scale the tile from previous level and show it until data for new level are loaded from map file
- In case that tile for new level exists mentioned re-scaled tiles are replaced with loaded tiles for new level
- In case that tile for new level does not exist, only re-scaled tile remains on screen
- but the re-scaled tiles are removed from map if you pan with map out of the screen (because the memory). Tile is out of view so it's needed to render it
- and finally if you pan with map back then Locus show only tiles that exists for specified level
Kosice
Issue is caused due to same reason. The data for level=16 are available only in area of Kosice city. If you zoom-in into level 16 in city area everything works fine. But Locus is not able load any data for level=16 when you zoom-in everywhere outside the city area. The result is the same. In first step is tile from level 15 re-scaled. But as you pan with map the re-scaled tile is removed because there are no data for level 16
So it's not bug but I can understand that such behavior is quite tricky
Thanks for understanding
Petr
Hello Peter,
The corner/border areas.
That is how Locus works. Let me explain the steps how tiles are shown:
- When you zoom-in Locus quickly re-scale the tile from previous level and show it until data for new level are loaded from map file
- In case that tile for new level exists mentioned re-scaled tiles are replaced with loaded tiles for new level
- In case that tile for new level does not exist, only re-scaled tile remains on screen
- but the re-scaled tiles are removed from map if you pan with map out of the screen (because the memory). Tile is out of view so it's needed to render it
- and finally if you pan with map back then Locus show only tiles that exists for specified level
Kosice
Issue is caused due to same reason. The data for level=16 are available only in area of Kosice city. If you zoom-in into level 16 in city area everything works fine. But Locus is not able load any data for level=16 when you zoom-in everywhere outside the city area. The result is the same. In first step is tile from level 15 re-scaled. But as you pan with map the re-scaled tile is removed because there are no data for level 16
So it's not bug but I can understand that such behavior is quite tricky
Thanks for understanding
Petr
Hi,
Your algorithm makes complete sense - but there are conditions when some part of it fail:
1) non Kosice - if i only zoom in to get some parts out of the view, then zoom out, it reloads missing tiles from the map. So far so good. But some tiles are not redrawn and stay empty (the corner ones). Additional zoom out/zoom in sometimes fixes that, bot not reliably. This is clearly a bug (now i noticed that sometimes they are redrawn after really long time - like a minute, but sometimes they stay empty even after 5m). Looks like some synchronization issue between thread loading from map and drawing thread.
2) Kosice - I understand current algorithm is not designed to be reliable for mixed map levels, but lets call it the defect in the design - as clearly the result is that i cannot use the offline map without irritation.
Offline maps is the main reason for buying Pro version, so i hope we agree that this basic functionality should work.
Would it be difficult to add scale operation for tiles which need to be redrawn but are missing in the current level?
I believe this already is implemented - as for Kosice center, when zoomed at 200m, it already has to load+scale the tiles which are out of the view.
3) I noticed a new defect now (possibly related to the non-Kosice problem). When zooming in and out in Kosice, Cca after 1 out of 10 redraws one tile is not redrawn - but it is in the middle (see attachment). If i zoom in (higher level drawn ok) and back out, the empty tile is still there. There is clearly some condition when app thinks it has redrawn the tile but the data has not been rendered.
4) Another weird behavior noticed - The app got into some weird state. Kosice map did not allow me to zoom in above level 12. When i turned the map off, and then back on, i still had completely blank map. When i switched to different maps, i still saw nothing (and yes, i centered on the new map). Killing and starting app fixed that at least.
Hi,
Your algorithm makes complete sense - but there are conditions when some part of it fail:
1) non Kosice - if i only zoom in to get some parts out of the view, then zoom out, it reloads missing tiles from the map. So far so good. But some tiles are not redrawn and stay empty (the corner ones). Additional zoom out/zoom in sometimes fixes that, bot not reliably. This is clearly a bug (now i noticed that sometimes they are redrawn after really long time - like a minute, but sometimes they stay empty even after 5m). Looks like some synchronization issue between thread loading from map and drawing thread.
2) Kosice - I understand current algorithm is not designed to be reliable for mixed map levels, but lets call it the defect in the design - as clearly the result is that i cannot use the offline map without irritation.
Offline maps is the main reason for buying Pro version, so i hope we agree that this basic functionality should work.
Would it be difficult to add scale operation for tiles which need to be redrawn but are missing in the current level?
I believe this already is implemented - as for Kosice center, when zoomed at 200m, it already has to load+scale the tiles which are out of the view.
3) I noticed a new defect now (possibly related to the non-Kosice problem). When zooming in and out in Kosice, Cca after 1 out of 10 redraws one tile is not redrawn - but it is in the middle (see attachment). If i zoom in (higher level drawn ok) and back out, the empty tile is still there. There is clearly some condition when app thinks it has redrawn the tile but the data has not been rendered.
4) Another weird behavior noticed - The app got into some weird state. Kosice map did not allow me to zoom in above level 12. When i turned the map off, and then back on, i still had completely blank map. When i switched to different maps, i still saw nothing (and yes, i centered on the new map). Killing and starting app fixed that at least.
This issue for me appears to be fixed in the latest version (actually maybe a version or two back). I no longer have to add a transparent fill as mentioned in my previous comment for my Locus overlay maps.
This issue for me appears to be fixed in the latest version (actually maybe a version or two back). I no longer have to add a transparent fill as mentioned in my previous comment for my Locus overlay maps.
Hello Bradon,
thank you for an information. I'm little bit surprised, because as I remember, there were no direct changes that should affect this. Anyway if it works - perfect :).
Hello Bradon,
thank you for an information. I'm little bit surprised, because as I remember, there were no direct changes that should affect this. Anyway if it works - perfect :).
Replies have been locked on this page!