[Chameleon] ROI Behavior Customization
Abe Gillespie
abe.gillespie at gmail.com
Thu Sep 8 15:25:58 EDT 2005
Hey Paul,
Yep, I was already trying to use the RemovAll() method and it wasn't
working. Turns out I had it just past a call to send the page so that
part of the JS was never fired. I think it's working great now.
Thanks!
My endeavors have revealed another bug though:
cwc_roi.js, ln 109 - should be connected to "De"registerEvent and not
RegisterEvent.
Thanks.
-Abe
On 9/8/05, Paul Spencer <pspencer at dmsolutions.ca> wrote:
> Abe,
>
> there is a widget for clearing the ROI I think. It has a javascript
> function that is called to clear the ROIs. You can probably copy that
> javascript into whatever function you have that uses the ROI to clear
> the ROI when you are done grabbing the shape.
>
> Or if you are on the server side, you can unset($_SESSION['ROIRENDERER'])
>
> Cheers
>
> Paul
>
> Abe Gillespie wrote:
> > Is there a way to have the ROI tools not persist their shapes AND / OR
> > not draw themselves to an image? I'm only interested in the
> > Javascript side and getting the shape that is drawn. Once I get that
> > information I don't need anything else from ROI.
> >
> > Thanks.
> > -Abe
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
> >
>
> --
> +-----------------------------------------------------------------+
> |Paul Spencer pspencer at dmsolutions.ca |
> +-----------------------------------------------------------------+
> |Applications & Software Development |
> |DM Solutions Group Inc http://www.dmsolutions.ca/|
> +-----------------------------------------------------------------+
>
More information about the Chameleon
mailing list