I apologize...  just found GetLayerDefinition
<https://mapguide.osgeo.org/files/mapguide/docs/webapi/d5/db1/class_mg_l
ayer_base_040ffa5881d6563cc2b0ba58b4f7f2c7.htm#040ffa5881d6563cc2b0ba58b
4f7f2c7>  ()

 

When I first looked at this call, I thought it would return the layer
definition xml, not the ResourceID...

I knew it was something simple...

 

Warren M

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Warren
Medernach
Sent: Monday, January 19, 2009 11:41 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Get Layer ResourceID via API

 

Hello all,

 

I think I'm missing something simple...

I want to get the ResourceId for a specific layer, where I know the
layer name.

 

IOW, in code I have iterated through the layers in the layercollection
and have found the specific layer I am interested in (Parcels).  How can
I get the ResourceId for this (Parcels) layer?

 

Thanks so much

Warren M

 

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

Reply via email to