adds segmented control for mapType