bind attribute to marker color