tmapAddLayerOptions function

Internal tmap function to add a default value for the layer functions