Under the age of about 1 to 1.5 then you get to call the shots of what happens when. Walk as mu h as you like.
After that age, the kids start to get their own opinions and won't always just do what you want them to do. You may want to go for a long walk, but the kid wants to do something else. They'll spend 95% of the time trying to escape the buggy/stroller or trying to run off or just sit on the floor if they're walking.
At that age we've found that it is best to not have any plans for things you need to do - e.g. don't plan to "walk to the store", because it might take you 25 minutes to go about 200 meters because you need to stop to look at a traffic light or a store front or a car that is red or whatever - i.e. you'll never get to the store without a fight. That said, they usually love the playground though so swings and slides and stuff can replace being a docile lump that you cart around.