【发布时间】:2015-07-03 17:11:12
【问题描述】:
在我的 Android 应用程序中,我有一个链接可打开 Google 地图 URL,以向用户展示如何从其位置前往某个地点。问题是链接在我的应用程序上打开,我无法按手机的返回快捷方式返回。
在我的<a> 的href 属性中,我使用的是这个网址:
http://maps.google.com/maps?daddr={{item.latitude}},{{item.longitude}}&ll=
我正在使用 Ionic 和 AngularJS。
我已经尝试过这个解决方案:Can't go back after clicking on a Google Maps link,但我不知道如何使用geo: 协议在上述网址中进行相同的查询。
有人知道怎么解决吗?
【问题讨论】:
标签: android angularjs google-maps ionic back-button