[Cartoweb-dev] [Bug 1541] New: Cached labels drawn twice

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Thu Aug 3 04:26:53 EDT 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1541

           Summary: Cached labels drawn twice
           Product: CartoWeb
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: cartoweb-dev at lists.maptools.org
        ReportedBy: brage at zoo.uib.no


The labels is drawn twice for labels with labelcache on. This results in ugly
and sometimes duplicate labels.

The bug is in ServerImages.php, where the labelcache is drawn implicitly by the
call $msMapObj->draw() or $msMapObj->drawQuery() in ServerImages::drawMainmap(),
and later explicitly by a call to $msMapObj->drawLabelCache() in
ServerImages::handleCorePlugin().

A possible fix would be to add $msMapObj->labelcache->free() to
ServerImages::drawMainmap().



------- 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 Cartoweb-dev mailing list