两指或PINC放大osmdroid到图形页面 [英] two finger or pinc zoom to mapview in osmdroid

查看:140
本文介绍了两指或PINC放大osmdroid到图形页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要帮助

我试图缩小通过让用户多点触摸点图形页面(首次2手指触摸) 我知道有setMultiTouchControls()函数,但是这不是我想做的事情。

我试着用图片来解释:)它比书面方式比较容易;


I need help

I'm trying to zoom to mapview by getting users multi touch points (firstly 2 finger touch) I know there is setMultiTouchControls() function but this is not what I want to do.

I tried to explain with a picture :) it was easier than writting;

黑色粗箭头表示手指的运动方向。 相同的情况下,可以考虑为相反的方向。(放大)

The black bold arrows show the fingers' movement directions. The same situation can be considered for opposite directions.(zoom in)

推荐答案

最后,在osmdroid 3.0.10此功能已得到落实。

Finally, In osmdroid 3.0.10 this feature had been implemented.

这篇关于两指或PINC放大osmdroid到图形页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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