Side of polyline (right / left)

Discussion created by hrithikesh3485 on Apr 15, 2013

How can we find side of the polyline/line in JS.

we need to select a line and click on the map, then we need to find on which side user has clicked for the selected line.

we need this to use it for offset after finding the side.

We are trying to get output using Cross - Product but it is not giving proper output.

Please give inputs on how to find side, we do not want to use geoprocessing tool or SOE.

Sameer Pupppal