[mapguide-users] Adding layer programatically doesnt change legend in Fusion 2

Rodolfo Moreno rodolfoamoreno at gmail.com
Fri Oct 16 10:59:21 EDT 2009


Replaces javascript code: 
   Refresh();
by:
  currentMap = Fusion.getMapById('Map');
  currentMap.reloadMap();

Regards


ary_s wrote:
> 
> Hii group,
> 
> I'm working on Layer manipulation in Fusion. When i add a layer, the
> features are available on the map but not in the legend. In ajax viewer
> its has no problem. Do I need to refresh the legend pane every time i add
> new layer? If so, how to refresh it?
> 
> 
> many thanks
> 


-----
Rodolfo Moreno
CivilEng

-- 
View this message in context: http://n2.nabble.com/Adding-layer-programatically-doesnt-change-legend-in-Fusion-2-tp3834244p3836003.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list