Setting map types Setting map types The following code example sets map types. This example contains jQuery code.