[mapguide-users] Problems with legend, when creating layer in tun time

MaciekS msiedlaczek at techmex.com.pl
Sun Sep 30 13:01:26 EDT 2007


Hi everyone.

When I'm creating new layer in php, layer displays on the map but it doesn't
in the legend.
After refreshing legend frame it comes to be visible ... strange, isn't it?

My code is:

  $newLayer->SetName($layerName);
  $newLayer->SetVisible(true);
  $newLayer->SetSelectable(true);
  $newLayer->SetLegendLabel($layerLegendLabel);
  $newLayer->SetDisplayInLegend(true);

Any ideas?

Maciek
-- 
View this message in context: http://www.nabble.com/Problems-with-legend%2C-when-creating-layer-in-tun-time-tf4544080s16610.html#a12967629
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list