其搭载Android 4.4版本(奇巧)与bingmap问题 [英] Having issues with bingmap in android 4.4 (kitkat)

查看:144
本文介绍了其搭载Android 4.4版本(奇巧)与bingmap问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I M在我的应用程序中使用bingmap和它做工精细,直到软糖版本。
当我的目标设定为4.4,必应地图只是加载大陆独自没有指向的当前位置。

i m using bingmap in my app and its working fine till jellybean version. When i set the target to 4.4, the bing map is just loading the continents alone and not pointing the current location.

在调试时,发现该地图加载事件处理程序回调是没有得到调用。

On Debugging, found out that the map loaded event handler callback is not getting called.

下面是maploadedlistener的code片段。

Below is the code snippet for maploadedlistener.

       //Add a map loaded event handler
     bingMapsView.setMapLoadedListener(new MapLoadedListener() {
        public void onAvailableChecked() {
            mIsMapReady = true;
            mHandler.post(new Runnable() {

                @Override
                public void run() {
                    _gpsLayer = new EntityLayer(Constants.DataLayers.GPS);
                    bingMapsView.getLayerManager().addLayer(_gpsLayer);
                    updateGPSPin();
                }
            });
        }
    });

有没有人遇到同样的问题,与Android 4.4?
还请大家提出了一些补救措施。

Has anyone faced the same issue with android 4.4? ALso please suggest some remedy.

推荐答案

我的临时解决方案现在是先隐藏地图和完成加载后显示,我也锁定触摸功能,而变焦。

My temporary solution now is hide the map first and show after finish loading and I also lock the touch function while zooming.

这篇关于其搭载Android 4.4版本(奇巧)与bingmap问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆