switch: a new value emitted from the source observable cancels out all previous operations;
map: a value emitted by source observable is consumed by a function inside of switchMap operator. The function returns another observable. Hence the map from value to observable.