当网页上的链接转到maps.google.com/?q= http://example.com/mapdata.kml时,如何强制iPhone地图应用程序打开?通过Google地图与KML链接打开iPhone地图应用程序查询
如果我打开地图应用程序,并在查询框中特别放入http://example.com/mapdata.kml,则所有数据都会正确加载。但是如果我使用http://maps.google.com/?q=http://example.com/mapdata.kml,地图应用程序会加载但没有加载数据,并且查询框中没有任何内容。
典型的查询工作,如q = cupertino或q = [纬度,经度]。这似乎是破碎的kml链接。
有没有人得到这个工作?这是否支持?你是否必须对查询进行URI编码?
相关:http://stackoverflow.com/qu estions/2963132/how-to-email-cllocationcoordinate2d-as-a-link – cregox 2011-02-02 22:25:11