[Chameleon-dev] [Bug 1387] New: Maptips: for lines the attribute values are lost

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Wed Mar 29 06:07:44 EST 2006


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

           Summary: Maptips: for lines the attribute values are lost
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at xs4all.nl


Using a line layer for the maptips widget, I am losing the attribute values in
the mouseover, i.e. the mouse over function just uses [ATTRIBUTE_NAME].

I have solved this by:

// bartvde, override onmouseover, otherwise [ATTRIBUTE_NAME]
$onmouseover =
'onmouseover=\''.$this->mszOnMouseOver.'(arguments[0]'.$aszLineParts[1].',
'.$szValues.')\' ';
// end bartvde

$szNewCoords .= '<area shape="polygon" coords="'.$szBufferedLine.              
             '" '.$href.$onmouseover.$onmouseout.$onmousemove.$onclick.'>';

Will commit this to CVS soon (both 2.4 and head).



------- 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