[Chameleon-dev] [Bug 1101] New: ROICircle tool can get undefined
values in coords parameter
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Fri Jun 24 11:31:28 EDT 2005
http://bugzilla.maptools.org/show_bug.cgi?id=1101
Summary: ROICircle tool can get undefined values in coords
parameter
Product: Chameleon
Version: 2.2
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P2
Component: Widget
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: bartvde at xs4all.nl
When you click with the ROICircle tool in the neighbourhood of the map border,
you can get undefined values from the Pix2Geo function.
The Pix2Geo function assumes the X and Y values are inside of the map, but the
following statement in cwc_roi.js (CWCCircleROI_Serialize):
aRadius = this.manager.Pix2Geo( parseInt(this.centerX) + parseInt(this.radius),
this.centerY );
can result in breaking this assumption. This results in the following kind of
request:
http://localhost:8080//stragisweb/common/chameleon/htdocs//widgets/ROIManager/ROIRenderer.php?sid=42bc22ca06578&blah=0.8666772909500311&width=650&height=400&type=circle&mode=1&coords=96599.60307692307,464080.1525,undefined,undefined&edgecolor=0000FF&edgewidth=5&fillcolor=0000FF&fillopacity=1
The image of the ROI is then not consistent with what it should be.
------- 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