The 2018 and 2019 wiring diagrams are identical.
The map switch connects to pin #4 on the CDI unit and the switch simply connects the pin to ground for the "wet" curve. If the switch is not connected, the CDI is set to "sun" curve.
I usually run my bikes on the "wet" curve by removing the switch and connecting a wire across the connector under the tank to short pin #4. Personal preference.
On the 2019, the connector is is a simple 2 pin type under the tank near the HT coil. you should be able to trace it from the CDI connector.