public function filterByMap($map, $comparison = null)
    {
        if ($map instanceof \eXpansion\Bundle\Maps\Model\Map) {
            return $this
                ->addUsingAlias(MxmapTableMap::COL_TRACKUID, $map->getMapuid(), $comparison);
        } elseif ($map instanceof ObjectCollection) {
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }

            return $this
                ->addUsingAlias(MxmapTableMap::COL_TRACKUID, $map->toKeyValue('PrimaryKey', 'Mapuid'), $comparison);
        } else {
            throw new PropelException('filterByMap() only accepts arguments of type \eXpansion\Bundle\Maps\Model\Map or Collection');
        }
    }