That works for 2D, but what about 3D? I still get polylines