Replies: 5 comments 9 replies
-
Testing GdxActivity (e.g. with Mapilion) or vtm-playground samples, There must be something that can be easily reproduced by everyone to understand the report. |
Beta Was this translation helpful? Give feedback.
-
VTM core is the base of all backends. If specifically GDX has any issue, this must be first proved and then solved in its backend. However the GDX backend is not required on Android. |
Beta Was this translation helpful? Give feedback.
-
vtm-android-gdx was a proof of concept. It is far behind vtm-android in all aspects. VTM is a map library which must do the basics well. And vtm-ios is not maintained by community anyway... |
Beta Was this translation helpful? Give feedback.
-
To make it future proof it needs to work with Vulkan, |
Beta Was this translation helpful? Give feedback.
-
I came across this problem too. I solved it by using a render loop which checks if the map is dirty instead of requesting to re-render the map each time something changes. |
Beta Was this translation helpful? Give feedback.
-
When using a "Rerender when dirty" Renderingmode, e.g. with libGDX on Android,
ansychronously downloaded maptiles might not be rendered until user interaction.
This is because the TileRenderer waits for a GL Update in order to revalidate the Stat eof the Tiles. (
vtm/vtm/src/org/oscim/layers/tile/TileRenderer.java
Line 83 in d5543bd
This could be solved by either forcing the map to update until all visible tiles are loaded, or restarting the redraw when a tile gets ready, but would be a little more complex to implement. Usually the first process should not be to heavy, since Tile updates usually follow map movement or viewport changes.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions