OK,

It is there thanks Jackie, I was just looking at the in the wrong place, or
not hard enough.


So:

    rtMap.IndexOfLayer( szLayer);    // string

becomes (nicely)

    rtMap.Layers[szLayer];


But:

    rtMap.IndexOfLayer( rtmLayer);    // RuntimeMapLayer

needs to be

    rtMap.Layers.IndexOf( rtmLayer);


-----
linknode.co.uk 
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-IndexOfLayer-with-RuntimeMaplayer-tp7054187p7054262.html
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