How do you implement OverlayItem to be draggable? (Using ItemizedIconOverlays if possible)

柔情痞子 提交于 2019-12-13 02:09:51

问题


I have POIs showing up on the map, using OverlayItem and ItemizedIconOverlay (an ItemizedIconOverlay list of OverlayItems). I want to be able to drag these markers around and place them different locations on a map. How would you do this on on osmdroid?

I am using OSMDroid 3.0.5


回答1:


Check out this SO question Unable to implement onTouchEvent (Drag & Drop) with Osmdroid

You can also check Osmdroid issue 225 where they talk about this.



来源:https://stackoverflow.com/questions/7407338/how-do-you-implement-overlayitem-to-be-draggable-using-itemizediconoverlays-if

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