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)); }