I have a 3 year old. I bring a portable potty with me. You know why? Because I also have an infant who likes to roll around in the grass, and I prefer to limit the amount of strange pee she's exposed to.
Seriously, portable potty. There's a solution for this, and it doesn't involve having your kid pee on public parks.