Maps User Guide
You can get directions for driving, walking, or taking public transportation. Send the directions to your iOS device for quick access on the go.
In the Maps app on your Mac, click Directions (or use the Touch Bar), then enter a starting and ending location.
If your current location is showing, Maps uses it as your starting location, but you can enter a different one. You can also click the Swap Directions button to swap your starting and ending locations.
As you type, Maps offers suggestions that include your favorites, recent searches, and contacts.
Click Drive, Walk, or Transit.
Do any of the following:
View directions for an alternate route: Click the Details button for the route you want. All available routes appear in blue with the suggested route highlighted.
Zoom in on a step: Click the step in the directions sidebar.
Choose when to leave or arrive: For public transportation, choose when you plan to leave to get accurate transit schedules. You can also specify when you want to arrive by choosing Custom and then changing Leave to Arrive.
To print the routing table on a Mac OS X computer, you must open a Terminal window. Terminal can be found by opening the Finder, selection Applications and Utilities. To open a terminal session, double-click on 'Terminal.app'. Inside the Terminal application, the route print command is 'netstat -nr'. To add a route to the routing table use the route add command. An example looks like this: route add 10.0.0.0 mask 255.0.0.0 192.168.177.1. You can optionally add a metric 2 to the end if you want to add a specific weight to the route. The routes with the lowest metric will take precedence over higher metrics. To add a route to the routing table use the route add command. An example looks like this: route add 10.0.0.0 mask 255.0.0.0 192.168.177.1. You can optionally add a metric 2 to the end if you want to add a specific weight to the route. The routes with the lowest metric will take precedence over higher metrics. Well this is most of the time easy but useful when need and you can’t remind the command you have to use to add a static route in a Mac OS X installation. Open fist the terminal session. Use the following command: sudo route -n add x.x.x.x/24 x.x.x.x. You have to enter your password. It is best to add static routes to your networks 'default gateway' which is usually either a network Firewall or a router. I believe the current method if done in OS X would be to use the pf firewall to setup a rule for forwarding traffic between the two networks. However El Capitan has also made using pf a little bit more complicated.
You can get directions to or from a pinned location. Click the pin, click the Info button , then click Directions. If your starting location doesn’t have a pin, Control-click your location on the map, then choose Drop Pin.
Send directions to your iOS device
You can send directions or a location to your iPhone, iPad, or other iOS device. (You must be signed in to iCloud using the same Apple ID on both your iOS device and your Mac.)
In the Maps app on your Mac, do any of the following:
Find a location: Click in the search field, then enter an address or other information, such as an intersection, landmark, or business.
Get directions: Click Directions (or use the Touch Bar), then enter a starting and ending location.
Click the Share button in the toolbar, then choose the device you want to send directions to.
You get a notification on your device. Tap it to open the directions in Maps on your device.
To change whether Maps shows distances in miles or kilometers, choose View > Distances > In Miles, or View > Distances > In Kilometers.