Hi!
So I have downloaded offline maps and when I am using an offline map it flickers everytime I scroll across the map. The map goes blank for 5-10 sometimes 30 seconds then comes back. Does not matter how close or far I am zoomed or if I'm panning 15 ft. Or 15 miles. Goes blank...
Wait..then comes back. Any ideas?
A video would greatly help. This is not normal or reported before.
Does this happen with Google maps? Is the behavior seen with maps of offline lists or just the Live map? If just Live, do you have auto refresh on? If Live, are there lots of caches within the map boundaries? Does this happen when you first open the app or later after using it awhile? What offline map source are you using? Is there a theme on for the map?
The more information I have the better I can help determine what the issue is.
I am using mapsforge happens anytime I use offline maps. Attaching video
Geooh uses software from Mapsforge for offline maps so I don't have control of how it renders. How does c:geo look with the same maps and theme? How does Google maps work?
Works fine on c:geo oddly enough if I use the maps downloaded from cgeo the flickering stops not sure what source cgeo uses but I'll just use those maps
Are you using the same exact map files and theme in both apps? Geooh and c:geo use Mapsforge software.
How did Google maps work?
Google maps works fine no issues with any other map. I am using the same exact files for geooh that I had previously downloaded for cgeo just changed the alt map directory to the cgeo folder. Unfortunately however I just opened the app again a moment ago and it's back to doing the same flickering again as it showed in the video I sent 🙃
Can you send me the map file and theme file both Geooh and c:geo use? Also your Geooh settings exported.
attached is my settings export. the file for the maps is too large to attach here is there another way i can send it to you?
I couldn't replicate the issue.
Try this... point the offline maps directory to another folder (doesn't matter whether there are any maps in it). Restart Geooh and open Live which should be blank maps. Go back into settings and point back to the original maps folder. Restart and try again. This should force the app to clear out the tile cache used by Mapsforge in case somehow bad tiles got in there.
Let me know.
I tried this and didn't work. I did end up fixing it by deleting all the map files off the device. And reinstalling them through cgeo and it appears to be working now. If it starts again I'll let you know. Thanks as always for the quick help!
So they weren't the same map files before? That's why I questioned if they were exact same files. How were the original maps used by Geooh downloaded? What theme are you using in both apps?
When the flickering started I had tried using my old original cgeo maps, and the maps downloaded through geooh I had tried using a 2/3 of the different sources listed in geooh. No theme was used in either app. My only guess is maybe the map data was corrupted? I honestly have no idea.
The issue has returned any ideas?
I can't replicate it. Can you point to the c:geo map directory in Geooh settings to fully confirm you are using the exact same map files?
yes Geooh is pointing to the C:GEO map directory folder.
C:geo is rending the map fine
i also tried uninstalling the app and reinstalling it. still no Bueno
And they are both set to the same theme?
Until I can replicate it, I have no idea what should be changed since I've haven't gotten reports of it elsewhere. After the reinstall of Geooh, did you modify settings?
I don't use themes, the only thing in the map directory folder is the map file. Themes file is empty
after the Geooh reinstall the only settings i changed was "use offline maps" and then pointed to the map folder.
could it be a hardware conflict with my phone? i am using a pixel 6 pro
I have a Pixel 6 Pro also with no issues.
Send me screenshots of c:geo settings, Geooh settings, and what the contents of the offline map folder is that both apps use.
I just got a bug report from your phone. The error occurs when the Mapsforge software that Geooh uses (and also c:geo) comes across a map file that their software has a problem with... something to do with an invalid header and file size. I looked at the Mapsforge code and of course don't fully understand what it is doing or why it had a problem.
I still feel there is an issue with the map file you are using. Is there any way you can try another source for maps and test it. Definitely don't use c:geo's download utility because they may be messing around with the map file after downloading. What country are you using offline maps for? I could use the same source (or find one for you) that works properly.
Bottom line is the error is not within Geooh code, but the 3rd party Mapsforge software that I don't control.
I have tried 4 sources now for maps. All with the same results. I have attached screenshots of my settings as well as maps folder with it's contents
Pt2
Pt3
Well, there are way too many map folders. Are you switching between them? Due to bad Mapsforge software, both Geooh and c:geo have to move files internally to access them with proper security. With so many maps there could be a shortage in file space.
Do this... find just one ".map" file for your area. Use the link Geooh provided to Mapsforge via Download Maps. Use v5 not v4! Don't have anything else in the map folder chosen in settings. Uncheck then recheck Use Offline Maps to force Geooh to rebuild internal files. Then see if you encounter a problem. Hopefully all works fine.
BTW, c:geo isn't using offline maps... it's using Google according to your screenshot.
I did as directed, removed all map files and folders created one folder named maps. Downloaded v5 through geooh. Reinstalled geooh, pointed offline directory to the maps folder which has only.on map file in it. And it's still not working.
I was finally able to replicate it... looking into why.
🙏🙏🙏🙏🙏🙏
Just wanted to let you know since the last update the problem has been fixed. Thank you so much you rock!