AnsweredAssumed Answered

Create Parallel lines using one polyline geometry

Question asked by omega_cancer on Dec 9, 2015
Latest reply on Dec 9, 2015 by omega_cancer

Is it possible to create two parallel lines using single polyline geometry?

 

 

var polyline = new Polyline([
           [33, 71, 0],
           [32, 70, 1000],
           [30, 66, 0],
           [31, 73, 1000]
         ]);

 

 

This creates a single connected line. How can I draw a 2 lines one from

[33, 71, 0],
[32, 70, 1000]

and other from

 [30, 66, 0],
 [31, 73, 1000]

using same graphic and polyline geometry.

 

 

Any help would be highly appreciated.

Outcomes