[mapguide-users] Re: Show help on a specific feature when selected

Nickcx nickcx at gmail.com
Fri Apr 30 22:02:19 EDT 2010


What we do is to overwirte ChangeVisibility function of map legend.

like 

var 
OrgChangeVisibility = legend.ChangeVisibility;
legend.ChangeVisibility = MyChangeVisibility;


function MyChangeVisibility(objectId)
{
     //from legend tree object and objectId find node which has layer or
group name informaton
 
     //call original changeVisibilty
     OrgChangeVisibility(objectId);
}

Nick
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4988740.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list