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.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to