[Chameleon-dev] [Bug 1206] New: ROI Widget Array gets corrupt when you Zoom/Pan/Redraw Map

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Wed Nov 23 10:59:29 EST 2005


           Summary: ROI Widget Array gets corrupt when you Zoom/Pan/Redraw
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: derek.bird at xwave.com

If you Draw a Circle or Rectangle, then run:

1) You get a nice serialization, showing you the Type, mode, coords etc.
2) If you zoom in, pan the map or whatever, the map redraws, you see your nice 
RPO Widget, but when you call alert(goCWCROIManager.GetLast().Serialize());, 
it returns FALSE.
3) If you inspect the ROI Object from GetLast (or GetROI[0]), you will notice 
that the ROI type is set correctly, but pretty much all of the other 
attributes are their default values (Rectagle for instance is -2,-2)

It would be nice to allow our users to move the map after drawing a ROI. 
currently we have to clear the ROIs because we can't access their properties.

Also change the getROI method to return this.aROI opposed to aROI, it will 
return the proper object opposed to NULL.


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.

More information about the Chameleon-dev mailing list