MapView的多点触控缩放(摘心),不可靠和混乱 [英] MapView MultiTouch zoom (Pinching) unreliable and chaotic

查看:103
本文介绍了MapView的多点触控缩放(摘心),不可靠和混乱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用从谷歌的MapView和有真正大的问题吧。特别是与多点触摸缩放。我使用的是Android 2.2的平板电脑。做这个工作所需要的第一件事是specifing在XLARGE屏幕支持AndroidManifest。

I use the MapView from Google and have real bigger problem with it. Especially with the multitouch zooming. I am using an Android 2.2 Tablet. First thing needed to make this working was specifing in the AndroidManifest that xlarge screens are supported.

所以,现在发生什么。 90%以上的时间缩放作品。但有时不工作,我所有的覆盖(我也用欣赏到mapballons项目显示在地图的上方)的走动,而在瓷砖留在相同的位置即可。变焦不起作用了。几秒钟后触摸和周围的转储它开始工作了。

So what happen now. 90 % of the time zooming works. But sometimes it does not work and all my overlays (I also use Views from mapballons project to display on top of the map) are moving around while the tiles stay at the same position. Zooming does not work anymore. After some seconds and touching around as dump it begins to work again.

我不知道为什么出现这种情况,并且有在logcat中也不例外。

I don't know why that happens, and there are no exception in the logcat.

我还附着在MapView的一个SimpleGestureListener,但不消耗手势这是重要的(仅枪王)。但问题也没有出现一个GestureListener。

I have also attached an SimpleGestureListener on the MapView but don't consume gestures which are important (only Double Tap). But the problem also occurs without a GestureListener.

这将是有益的,如果有人也有这样奇怪的行为,并知道为什么发生这种情况。

It would be helpful if someone had also such strange behaviour and know why that happens.

编辑:虽然在那个陌生的模式,这也是不可能的变焦按钮放大并切换到卫星。它完全反应奇怪

While in that strange mode, it is also not possible to zoom with the zoom button and toggle to satelite. It totally reacts strange

EDIT2:我可以证实这是更多的应用我对2.2平板电脑。它也主要发生,当你开始在地图的左边pinnching

I can confirm this is in more application i have on the 2.2 Tablet. It also occurs mainly when you start pinnching in the left side of the map

推荐答案

这听起来像这里发表了同样的问题:奇怪的图形页面的问题; PixelConverter错误

This sounds like the same problem posted here: Weird MapView problem; PixelConverter Error

这篇关于MapView的多点触控缩放(摘心),不可靠和混乱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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