function wireframe(multilinestring, radius, material) {
    const geometry = new THREE.Geometry();

    for (const P of multilinestring.coordinates) {
        for (let p0, p1 = vertex(P[0], radius), i = 1; i < P.length; ++i) {
            geometry.vertices.push(p0 = p1, p1 = vertex(P[i], radius));
        }
    }
    return new THREE.LineSegments(geometry, material);
}
//Created wireframe for the landmass.

Created wireframe for the landmass.
Created wireframe for the landmass .
function wireframe(multilinestring, radius, material) {
    const geometry = new THREE.Geometry();
    for (const P of multilinestring.coordinates) {
        for (let p0, p1 = vertex(P[0], radius), i = 1; i < P.length; ++i) {
            geometry.vertices.push(p0 = p1, p1 = vertex(P[i], radius));
        }
    }
    return new THREE.LineSegments(geometry, material);
}
function wireframe ( multilinestring , radius , material ) { const geometry = new THREE . Geometry ( ) ; for ( const P of multilinestring . coordinates ) { for ( let p0 , p1 = vertex ( P [ 0 ] , radius ) , i = 1 ; i < P . length ; ++ i ) { geometry . vertices . push ( p0 = p1 , p1 = vertex ( P [ i ] , radius ) ) ; } } return new THREE . LineSegments ( geometry , material ) ; }
Created wireframe for the landmass.
Created wireframe for the landmass .