Why Launching Native Google Maps Application from Cordova shows Antartica?

倖福魔咒の 提交于 2019-12-13 07:35:14

问题


following this post and working with Corodva 3.6 bring me to open the Native google maps from my app. That's what I wanted.

Here is the exact line I'm executing:

window.location.href = url;

Where url is equal to:

geo:-122.41327719999998,37.7715108

It does open the map. But it brings me to Antartica with geo:0,0 I think.

What am I doing wrong ? I did use <access origin="geo:*" launch-external="yes" /> in my config.xml

Many thanks

来源:https://stackoverflow.com/questions/26876392/why-launching-native-google-maps-application-from-cordova-shows-antartica

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!