move marker functionality from data to map controller