Fixed the map timeout issue. Refactored code so map is only initialised when track journey is accessed.