marker color change depending of the history of the marker