I know google maps are known to be the best maps out there, but i dont want to have to download a bunch of extra libraries and all that. I'd prefer to do something quick and simple to get a quick route from point A to B and be done with it. Is there a way to do this with built in functions/libraries? Can somebody point me in the right direction?
EDIT
I'm not trying to get turn by turn directions or anything in my case, i just want to draw a line from start to finish. maybe give options about which routes to take. Is there a way to do it or no?
if you want show a Alert Dialog when you tapped in a Pin make this:
In iOS 7, you can get and display directions using
MKDirectionsRequest
.Here's some sample code for displaying directions from the current location to another map item:
If you're new to iOS 7, you'll need to implement the
mapView:rendererForOverlay:
method for any overlay to appear. Something like:Swift version
and its delegate
Another possibility is to send the address to the Apple Maps app. I just saw this done in a professional setting and that was the chosen method.