Generate KML file within iphone app
In my app i have to draw route between user location and destination location in MKMapView with help of MKAnnotation and MKOverlay classes. I had gone through the KMLViewer sample code from apple in there they mentioned to create KML file outside the programming steps, but i need KML file generation inside iPhone app programming. is it possible? and i need help on doing that.. Steps to get KML file manually The process to obtain a KML is as follows: Go to: "http://maps.google.com/" Click "Get Directions" link Type in the start and destination addresses (for example) Start = 451 University