You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 27, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 27, 2024. It is now read-only.
when I call startActivtyForResult() from inside the fragment where the map is, and then return to the fragment of the map. the labels layer is totally broken and messes up rendering of the map.
I tried removing the labels layer and that fixed it, I tried removing other layers and it was still broken.
I also tried removing the labels layer and then adding it back to the map, and it was still broken again.
is this a known issue? is there a way to bypass this problem?
I just updated to 0.6.0 and it's still happening but for some reason the first time I openend the first activity and went back it was still OK, then the 2nd time and after that the labels and map were broken.
all in the repository I posted earlier... and I also noticed this in logs:
Activity
hjanetzek commentedon May 14, 2015
Thanks for reporting. I haven't seen this issue yet. Could you provide a simple example for testing?
MarsVard commentedon May 19, 2015
Hey @hjanetzek Here's a project that experiences the issue, it's a simple mock project with 2 activities.
https://github.com/MarsVard/BrokenMaps/tree/master
Hope you are able to provide more info or a way to fix this. and thank you for this awesome project.
hjanetzek commentedon May 19, 2015
thank you. sorry, this week is kind of super busy - I'll get to it sometime next week
hjanetzek commentedon May 19, 2015
hmm - works for me with the latest vtm. I've changed vtm-0.5.9 to 0.6
MarsVard commentedon May 20, 2015
I just updated to 0.6.0 and it's still happening but for some reason the first time I openend the first activity and went back it was still OK, then the 2nd time and after that the labels and map were broken.
all in the repository I posted earlier... and I also noticed this in logs:
Is there a way to force map to reload? maybe if I force the map to reload when the activity resumes that will fix it ?
0nko commentedon Jun 15, 2015
@MarsVard I found that it's caused by a texture used in the themes:
< style-area id="tex1" src="textures/rough.png" / >
When I removed it I got rid of the error.
MarsVard commentedon Jun 17, 2015
@0nko do you mean the GL_INVALID_OPERATION or the rendering being broken?
0nko commentedon Jun 18, 2015
@MarsVard yeah, GL_INVALID_OPERATION
hjanetzek commentedon Jun 18, 2015
@MarsVard, 0nko the texture issue should have been resolved by the latest commit
0nko commentedon Jun 20, 2015
@hjanetzek you're right, it works. thanks!
libGDX level zoom with keys, fixes opensciencemap#154