简体   繁体   English

Appcelerator Android Webview-Google我的地图-Webview中没有航点或路线

[英]Appcelerator Android Webview - Google My Maps - No Waypoints or routes in webview

I am having issues with appcelerator android webview when trying to open this url: 尝试打开此URL时,appcelerator android webview出现问题:

https://www.google.com/maps/d/u/0/viewer?mid=z17iJvDVJ98I.kUPrdVX_4thA https://www.google.com/maps/d/u/0/viewer?mid=z17iJvDVJ98I.kUPrdVX_4thA

This url is a Google My Maps url. 该网址是Google我的地图网址。

The mpa shows but the routes and waypoints layers just don't display. mpa会显示,但不会显示路线和路标图层。 They display on iOS, they also display in chrome on my android, they also display in the android emulator (Genymotion) 它们在iOS上显示,在我的android上也以chrome显示,也在android模拟器(Genymotion)中显示

For some reason they just don't appear on the android device in the webview of the application. 由于某些原因,它们只是没有出现在应用程序的webview的android设备上。

Anyone had this issue? 有人遇到这个问题吗? Any help would be great! 任何帮助将是巨大的!

Depending on the device the webview component is not up-to-date. 取决于设备,Webview组件不是最新的。 Try and see if you can install this component on your device to get a newer webview inside the app: 尝试查看是否可以在设备上安装此组件,以在应用程序中获取更新的Webview:

https://play.google.com/store/apps/details?id=com.google.android.webview&hl=de https://play.google.com/store/apps/details?id=com.google.android.webview&hl=de

or use https://github.com/UniversalAvenue/TiCrosswalk and you are independent of the installed Webview component of the target device 或使用https://github.com/UniversalAvenue/TiCrosswalk ,您将独立于目标设备的已安装Webview组件

I resolved to open the url with openUrl and let chrome do the work. 我决定用openUrl打开url,让chrome完成工作。 It would seem that waypoints and routes from Google My Maps don't diaply in the appcelerator webview. 看来,“ Google我的地图”中的航点和路线在appcelerator网络视图中并没有深入显示。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM