add optimized and unoptimzed versions of map and directions to show page of routes