I noticed a couple of different circuits that Lionel used in their newer switches. The simplest one is a simple 1n1005 diode in series with a 1k resister between the center rail power and the LED. the other lead of the LED went to the outside rails.
A second design was basically the same except instead of the 1n1005 they used a surface mount full wave bridge.
the third design was similar except the resistor was attached to the center rail power, then the LED then the 1n1005 reversed biased directly to ground. They all seemed to function ok except for the final one drew a lot more current. Opinions? I have heard some comments about circuits like this causing issues with some of the newer electronics??