Changed parameter to cgpoint for createActivityDetailLayer