Added touchup and touchdown support to the map demo.