Google map with markers and directions

Is it possible to create a Google map with markers and the option of having directions to these markers?
Ive looked through the documentation but cant see any way to add a directions option for a user to enter their location and get directions.

I’ve not seen such a thing, but there are options for providing some kinds of directions (such as this). Perhaps a combination of two things would do the job?

Here’s an article on using directions service: http://www.sitepoint.com/find-a-route-using-the-geolocation-and-the-google-maps-api/

Weirdly, I stumbled on this template page today that kind of has an example of what you are looking for:

http://rwd.kthornbloom.com/

It does take you to a separate Google page, but still, it does the job very nicely.