Ejemplo n.º 1
0
        protected bool isFeatureActive(KMLTraversalContext tc, DrawContext dc)
        {
            if (this.getVisibility() != null && !this.getVisibility())
            {
                return(false);
            }

            KMLRegion region = this.getRegion();

            if (region == null)
            {
                region = tc.peekRegion();
            }

            return(region == null || region.isActive(tc, dc));
        }