Function map a numeric vector of a property to a vector of colors for that property according to that property value.
map.color(x, pal, limits = NULL, na.col = "grey")A vector with colors proportional to the values of x
a numeric vector
a color palette
the values of the extremes for the colorscale
the color that will be assigned to the na.values of the vector