Switched markers to indexed array. Added populating indexed array of carparks. So now you can use carparks[id] and markers[id] to get the carpark and marker for the same id.