Removed all the renderers, except for the plain-vanilla one.
This gives a simple GPX track that is drawn with asynchronous point reduction to improve the speed of display. Also, the simple region-based culling gets rid of entire tracks from the draw pipeline for further sppedups.
This commit is contained in:
parent
63ff22b6ab
commit
1fedd78e23
1 changed files with 3 additions and 3 deletions
|
@ -331,15 +331,15 @@ public class GPXLayer extends OsmandMapLayer implements ContextMenuLayer.IContex
|
|||
&& !ts.points.isEmpty()) // hmmm. 0-point tracks happen, but.... how?
|
||||
{
|
||||
|
||||
ts.renders.add(new Renderable.Altitude(ts.points, 50, 128));
|
||||
//ts.renders.add(new Renderable.Altitude(ts.points, 50, 128));
|
||||
ts.renders.add(new Renderable.StandardTrack(ts.points, 17));
|
||||
|
||||
// TODO : enable these to see how the experimental conveyor, altitude, speed, waypoint renders work
|
||||
|
||||
//ts.renders.add(new Renderable.Conveyor(ts.points, view, 20, 250));
|
||||
ts.renders.add(new Renderable.DistanceMarker(ts.points, view, 1000));
|
||||
//ts.renders.add(new Renderable.DistanceMarker(ts.points, view, 1000));
|
||||
//ts.renders.add(new Renderable.Speed(ts.points, 50, 128));
|
||||
ts.renders.add(new Renderable.Arrows(ts.points,view,10,250));
|
||||
//ts.renders.add(new Renderable.Arrows(ts.points,view,10,250));
|
||||
}
|
||||
|
||||
ts.recalculateRenderScales(view.getZoom());
|
||||
|
|
Loading…
Reference in a new issue