简体   繁体   English

无法在iOS上与Bing Map互动; Android不显示折线(Flex Mobile App,通过StageWebView使用Javascript API)

[英]Cannot interact with Bing Map on iOS; Android does not show polyline (Flex Mobile App, using Javascript API through StageWebView)

After being unable to solve this issue , I decided to try to implement my application using Bing Maps. 无法解决此问题后 ,我决定尝试使用Bing Maps实现我的应用程序。 I am trying to load a StageWebView with the Google Maps Javascript API inside a Flex Mobile application. 我正在尝试在Flex Mobile应用程序中使用Google Maps Javascript API加载StageWebView。 Everything works perfectly when I view this in a browser (IE, Chrome and Safari) and in the Flash Builder simulators. 当我在浏览器(IE,Chrome和Safari)以及Flash Builder模拟器中查看此文件时,一切工作正常。 On the actual devices I get varying results. 在实际设备上,我得到不同的结果。 I am using the StageWebView.loadString() method to load my code in Flex. 我正在使用StageWebView.loadString()方法在Flex中加载我的代码。

The iPhone displays the map and the shapes I put on it but does not allow me to intuitively interact with it (drag the map, zoom by pinching or double-tapping). iPhone显示了地图和我贴在其上的形状,但不允许我直观地与它进行交互(拖动地图,通过捏合或双击来缩放)。 It also does not display the interactions bar at the top left as it does in a browser. 它也不会像在浏览器中那样在左上方显示交互栏。

On an Android phone (and the BlackBerry Playbook), I still cannot interact with the map intuitively, but I get the interactions bar, which mostly works. 在Android手机(和BlackBerry Playbook)上,我仍然无法直观地与地图进行交互,但是我得到了交互栏,该栏通常有效。 However, the app will not display my polylines (it does display pushpins). 但是,该应用程序将不会显示我的折线(它会显示图钉)。

On both devices, when I tap or doubletap on the map to try to intuitively interact with it, the keyboard comes up. 在这两种设备上,当我点击或双击地图以尝试直观地与之交互时,都会弹出键盘。 Typing displays no text. 键入不显示任何文本。

Any ideas on what my be the issue? 关于我的问题有什么想法吗? Will I need to write my own intuitive interaction functions? 我是否需要编写自己的直观交互功能?

根据Alexander Farber的建议,我决定使用MapQuest的Flex / Flash移动API ,事实证明该API非常有效。

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

相关问题 Flex Mobile,可用于Android和iOS的地图 - Flex Mobile, which map to use for Android and iOS 如何使用Google Map JavaScript API在混合移动应用程序中的高密度Android设备中缩放Google Map? - How to zoom google map in high density android devices in hybrid mobile app using google map javascript API? 在Google Map Android API V2中显示/隐藏一组折线 - Show/Hide a group of polyline in Google Map Android API V2 在 Tomtom Map API 中使用折线 - Using polyline in Tomtom Map API Bing Maps API与Android应用的集成程度如何? - How well does Bing Maps API integrate with Android app? 通过计时器在Android中的Google地图上添加折线 - Adding Polyline through a timer on Google map in Android 移动应用程序如何与 python 脚本交互? - How does a mobile app interact with a python script? Flex移动应用程序列表(android) - list for flex mobile app (android) Air StageWebView Leaflet地图图片在Android上呈锯齿状 - Air StageWebView Leaflet map images are jagged on android 如何使用Android密钥库对Flex Mobile App进行签名? - How can I sign a Flex Mobile App using Android keystore?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM