Add switch to select distance based on zoom level. Closes #2.