change color of canvas curves, change ratio of google map marker