Add map to activity?

Hi - I've added session data to my app so that it records distance run, bpm etc. It works fine and adds an activity to the Garmin app on the phone. But it doesn't show a map like when you do a run. I wondered if there is a way to get the session to record location and have it show up when the activity is viewed in the phone? I've looked through the API documentation but I can't find anything. Is it possible? Thanks