Summary: [Chameleon-Core]Invalid map size in CWCInitializeMap
when the current state and map are not set
AssignedTo: [hidden email] ReportedBy: [hidden email]
When a Chameleon application is used as a service instance, a new map object is
created in CWCInitializeMap with an invalid size (1). This happens because
msMapSetExtent (mapobject.c) calls msAdjustExtent (maputil.c) which does a
width-1 and height-1 calculation (see below).
ox = MS_MAX(((width-1) - (rect->maxx - rect->minx)/cellsize)/2,0); /* these
were width-1 and height-1 */
oy = MS_MAX(((height-1) - (rect->maxy - rect->miny)/cellsize)/2,0);
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.