extend location function(vertical, horizon)