use renderContext to determine if feature is visible