[mapguide-users] Re: MaestroAPI v3.5 - GetFullPath substitute!
Jackie Ng
jumpinjackie at gmail.com
Tue Nov 15 07:25:02 EST 2011
An easier way would be to store all the groups in a Dictionary keyed on the
group name
Then for each layer, you can walk back up the hierarchy via the layer's
Group property. If null or empty, this means it's a top-level layer,
otherwise find the matching group in the Dictionary and walk back up it's
hierarchy via its Group property, checking each element's visibility as you
are walking back up to the top. The Layer Group's Group property has the
same meaning (null or empty = top-level element)
For the second part, I can add a IsVisibleAtScale API to let check a layer's
potential visibility at a given scale.
- Jackie
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-v3-5-GetFullPath-substitute-tp6995830p6996091.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list