map.refreshLayer

Updates the display of a layer to reflect any changes to layer.features