add locate button to viewport