Moved query and setting of markers down to it's own method. Just call
marker(), whenever it needs to be done.