# Showing distance while editing

203
3
05-11-2018 10:14 AM
Occasional Contributor

Hi,

I have to show the distance while drawing a line or area for polygon. If I am drawing a line it should the distance between the line and polygon(resides behind the lines). I will select a polygon first and then while drawing a line(for every vertex might be good) it should show distances for all the segments of the polygon.

Please suggest me how to figure this out.

Cheers,

Srikanth Dasari

Tags (2)
1 Solution

Accepted Solutions
Frequent Contributor

This post shows an example of how to show the radius length while drawing a circle. It should give you some insight about how to do this with what you want to accomplish. It is written in 3.x, though.

3 Replies
Frequent Contributor II

While drawing look in the lower left corner

Occasional Contributor

Thanks for the reply. I need in the web application using Javascript API.

Frequent Contributor

This post shows an example of how to show the radius length while drawing a circle. It should give you some insight about how to do this with what you want to accomplish. It is written in 3.x, though.