melowntech / vts-browser-js

JavaScript WebGL 3D map rendering engine
BSD 2-Clause "Simplified" License
220 stars 42 forks source link

How to draw poly lines in vts-browser-js? #196

Open shrikant-panchal opened 4 years ago

shrikant-panchal commented 4 years ago

I am trying to draw 3D polylines on top of vts-browser-js earth environment. I observed that we can draw an arc or straight lines using drawLineString() API.

How do we draw closed loops? For example, I want to draw a complete arrow, where there is a triangle and a line connected to that triangle, makes a whole arrow.

How can we draw such geometries using single set of points, as I further want to transform them together?

Any help would be appreciated!