The Macbook can be used as a GPS display for an iPhone. Open the Macbook Maps app. Maps determines the current location from local Wi-Fi networks.
Turn on the Macbook Wi-Fi.
Enable the iPhone hotspot; Select Settings > Personal Hotspot > Enable & set a password with mixed alpha case and at least 1 number. The iPhone generated gibberish password was not acceptable to the Macbook.
Tell the Macbook to search for networks and select the iPhone and enter the WPA2-personal password for the iPhone.
Caveats: the Macbook - iPhone Wi-Fi connection seems flaky even when the iPhone is right next to the Macbook. The first time I set it up, Maps found my
current location, accepted my go to location. plotted routes including alternatives and guided me on target. Then I went to a second target with no problem. But after taking the iPhone out of Wi-Fi range of the Macbook, it was hard to reconnect the Wi-Fi and after the reconnect the Macbook Maps seemed to have trouble finding the Current Location. From there on it was downhill. I think the Apple Macbook Network Connection to an iPhone Hotspot needs more work.
Another note: it is irksome that the Macbook and iPhone cannot connect using Bluetooth unless the iPhone has the personal hotspot turned on. A PC running Windows has no problem connecting to the iPhone with Bluetooth.
Best wishes, Art
Re: About Location Services in OS X and Safari - Apple Support