-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Red GPX-Line disappears when zooming in (Example) #19
Comments
Hello ! I would qualify this as a bug: the mesh of surface is getting more refined when zooming in, but this is not the case for the GPX path. If we had a more precised GPX path we could solve this problem, but unfortunately this is not the case. |
Hello @zarov , thanks for your reply! Or do you know any other (simple) way of drawing a line from an array of coordinates on the GlobeView surface? |
I think you could split the GPX path into segments shorter than vertices of the layer level 20 (well for the case of France, I don't know what you are using), then recompute the altitude of each point using DEMUtils and redraw the GPX path. I didn't test it, but it seems plausible.
Yes, you can, instead of displaying a
This is a known problem unfortunately, but I think it has to do with the previous issues. FIY, you shouldn't use the current |
Hi @zarov, thanks for the information.
This line doesn't disappear when zooming in. 👍 |
Thx @mwingler - this worked for me! |
Ok, good to know it's working, thanks ! |
Hello,
I hope this is the right place for asking that kind of question:
Why is the red line in the following example disappearing, when zooming in to close?
http://www.itowns-project.org/itowns/examples/gpx.html
Is this a bug or a feature? If so, how can I prevent the GPX-Path from disappearing?
P.S. I already tried to set the "frustumCulled" to false, with no success. :(
I appreciate any help - thank you!
The text was updated successfully, but these errors were encountered: