How to load Map view using the WebView Url in iphone
问题 I'm loading a mapview using UIWebView by an url like http://www.google.com/maps?saddr=Massachusetts,+United+States&daddr=Sunnyvale,+CA,+United+States. This leads to load a direction view instead of mapview with Direction. Can any one tell me how to load mapview with directionLine from source to destination using the above url? 回答1: Just add &output=embed at the end of your link: http://www.google.com/maps?saddr=Massachusetts,+United+States&daddr=Sunnyvale,+CA,+United+States&output=embed 来源: