android maps: How to Long Click a Map?

后端 未结 8 1800
遥遥无期
遥遥无期 2020-12-02 12:41

How do I long click on a mapview so that a place marker appears at that point on the map?

I tried a couple ways without success:

1) Using setOnLongCl

8条回答
  •  独厮守ぢ
    2020-12-02 13:20

    There's an implementation for handling long press on maps here:

    http://www.kind-kristiansen.no/2011/android-handling-longpresslongclick-on-map-revisited/

提交回复
热议问题