[mapguide-users] Get Layer ResourceID via API

Warren Medernach wmedernach at rand.com
Mon Jan 19 12:49:07 EST 2009


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: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] 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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090119/8c977679/attachment.html


More information about the mapguide-users mailing list