<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><font size="2">Hello,<br><br>I have modified the MapguideViewerApi,.js by copying </font><font size="2"><span>the Rectangle handler and <span class="bold highlight search-highlight">increasing</span> the number of sides to 40 </span><span>in order to make a circle handler</span><span> .<br>The circle is now digitized, but the next issue that I'm facing is the fact that I&nbsp; don't know how to get the center and radius of the circle . This is how i use to do it in Ajax:<br><br></span><span></span>function AddCircle() {<br>&nbsp;&nbsp;&nbsp; parent.parent.mapFrame.DigitizeCircle(OnCircleDigitized);<br>}<br>function OnCircleDigitized(circle) {<br>&nbsp;&nbsp;&nbsp; var geometryInput = document.getElementById("geometryInput");<br>&nbsp;&nbsp;&nbsp; geometryInput.value = circle.Center.X + "," + circle.Center.Y + "," +
 circle.Radius;<br>&nbsp; }<br></font><font size="2"><br>Thank You,<br>Iulia</font><br><span></span></div></body></html>