docs($location): add examples for some methods

Closes #9754