[mapguide-users] Re: MaestroAPI - IndexOfLayer with RuntimeMaplayer

Crispin_at_Linknode crispin.hoult at linknode.co.uk
Fri Dec 2 05:51:33 EST 2011


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.


More information about the mapguide-users mailing list