The mapping in the layer determines what properties are visible for the selection. To get all column names for the FeatureSource, you have to perform a DescribeSchema call.

Regards, Kenneth Skovhede, GEOGRAF A/S



web skrev:
Hi all,
How retrieve layer's properties to display with mapguide API? I've search the in MgLayer methods and the xml associated to the layer as below :

$byteReader = $resourceService->GetResourceContent($layer->GetLayerDefinition());
    $xmldoc = DOMDocument::loadXML(ByteReaderToString($byteReader));

I can see mapping but no if information about if the property should appear in the selection?!?

Do someone know how to do that via php server API?
Thanks in advance,
Rémy
------------------------------------------------------------------------

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

Reply via email to