add featureInfo directive