ineTrails.forEach(function (mesh) {
                    mesh.setAltitude(params.altitude);
                });
            });
        }


        //default values
        var OPTIONS = {
            trail: 5,
            chunkLength: 50,
            speed: 1,
            altitude: 0,
            interactive: false
        };

        const MAX_POINTS = 1000;

        /**
         * custom component
         * */

        class LineTrail extends maptalks.BaseObject {
            constructor(lineString, opti