[Chameleon] ROI widgets

Berényi Attila aberenyi at burken.hu
Fri Jan 9 04:29:43 EST 2009


Dear Norm,

Thanks for the answer, I'm close to the solution :)
I suggest everyone to use the ROIArea widget, it's a great tool!

Attila

Normand Savard írta:
> Berényi Attila wrote:
>> Dear List,
>>
>> 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.
>>
> Attila,
>
> 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:
>
> <input type="button" onclick="alert(goCWCROIManager.geoMinX)"/>
>
> You can also access to the extents by looking to the ROIRENDERER 
> session variable in PHP.
>
> Norm
>
>

-- 
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: aberenyi at burken.hu
Web: http://www.laservision.hu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20090109/7d94d652/attachment.htm 


More information about the Chameleon mailing list