code: public function canVisit(Criterion $criterion)
      {
          return
              $criterion instanceof Criterion\MapLocationDistance &&
              (($criterion->operator ?: Operator::IN) === Operator::IN ||
                $criterion->operator === Operator::EQ);
      }
docs: Check if visitor is applicable to current criterion.
  
  @param \eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion
  
  @return bool