You can turn on Location Services on a Mac to share the computer's location using its IP address. This is essential for using apps like Maps.
You can use Find My iPhone for a Mac to find your computer if it's lost or stolen. Here's how to use Find My Mac.