Summary: | [Chameleon-Widget]Use of RoiFeatureTool widget is not working as expected | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Normand Savard <nsavard@mapgears.com> |
Component: | Widget | Assignee: | Paul Spencer <pspencer@dmsolutions.ca> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chameleon-dev@lists.maptools.org, dmorissette@mapgears.com |
Priority: | P2 | ||
Version: | 1.99 | ||
Target Milestone: | 1.99 beta 4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Changed target to 1.99 RC 1.
it appears to be a typo in the code, in that the constant should be MS_PIXELS. I wonder if this was a change from a previous version of mapserver (Daniel, has this changed?) If not changed, then I will change MS_PIXEL to MS_PIXELS. If it has changed then I will implement something like: if (!defined( "MS_PIXEL" ) && defined( "MS_PIXELS" )) define( "MS_PIXEL", MS_PIXELS ); but we'll need a fallback if neither is defined ... which would probably mean that mapscript didn't load correctly ...
I went back to version 3.6, and the constant has always been called MS_PIXELS in PHP MapScript.
fixed in cvs by changing MS_PIXEL to MS_PIXELS.