There is no scroll after adding an Overlay to MapView

时光怂恿深爱的人放手 提交于 2019-12-06 13:59:33

You're returning true on the touch event for the overlay. When you return true, the touch event stops cascading down to the lower views. Thus, your MapView never receives it. You only want to do that if the touch has been completely handled and you don't want to do anything more. If you want the map to move, you may try changing the return statement to return super.onTouchEvent(e, mapView);

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