fire event when layer with markers is added