About two weeks back, Google Maps Walking Directions were spotted, now they’re officialy rolled out for everyone, —”you can tell Google Maps that you want walking directions, and we'll try to find you a route that's direct, flat, and uses pedestrian pathways when we know about them. Just get directions as you normally would. If you're going 10 km or less (some call this 6.2 miles), we'll show you a link that you can click to get Walking directions,” Google LatLong blog.
The feature is still in beta because Google has incomplete data about pedestrian pathways, and has the following disclaimer following their “beta” notice: “Use caution when walking in unfamiliar areas.”
Tip. If you only see driving directions, copy the permalink of the page by clicking on "Link to this page", append &dirflg=w and paste the new URL in the address bar.
Source:→ Google System