My engine heats up in idle, cools when back on the road. on 2007 Pontiac Grand Prix

There has been a very slow leak on coolant, I'm thinking it's the thermostat. Any thoughts??

Asked by for the 2007 Pontiac Grand Prix
Could be the thermostat or water pump. It could also be an issue with the head gasket (check to see if your coolant is dirty looking).

You should have your car looked at by a professional.