<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Arial">Dear Norm,<br>
<br>
Thanks for the answer, I'm close to the solution :)<br>
I suggest everyone to use the ROIArea widget, it's a great tool!<br>
<br>
Attila<br>
</font></font><br>
Normand Savard írta:
<blockquote cite="mid:4964C478.9060105@mapgears.com" type="cite">Berényi
Attila wrote:
<br>
<blockquote type="cite">Dear List,
<br>
<br>
I'm trying to make ROI widgets work...but after I define a region
(circle, rectangle, polygon) I cannot get any information about that.
How could I use this widgets? What I need is e.g. area calculation for
a polygon, and similar tasks.
<br>
<br>
</blockquote>
Attila,
<br>
<br>
After you define a ROI you can retrieve the extents by using the
goCWCROIManager object in JavaScript. To test it you can add the
following line somewhere in your template:
<br>
<br>
<input type="button" onclick="alert(goCWCROIManager.geoMinX)"/>
<br>
<br>
You can also access to the extents by looking to the ROIRENDERER
session variable in PHP.
<br>
<br>
Norm
<br>
<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Berényi Attila / Attila Berényi
okl. térinformatikus mérnök / MSc. GIS engineer
Burken Kft. / Burken Ltd.
H-1155 Budapest, Obsitos tér 2.
Tel1: +36-1-415-0219
Tel2: +36-1-415-0220
Fax: +36-1-410-1314
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:aberenyi@burken.hu">aberenyi@burken.hu</a>
Web: <a class="moz-txt-link-freetext" href="http://www.laservision.hu">http://www.laservision.hu</a></pre>
</body>
</html>