在地图上Android的自来水,并获得坐标 [英] Android tap on map and get coordinates

查看:120
本文介绍了在地图上Android的自来水,并获得坐标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我试图让,一旦用户点击它得到具体点的坐标地图的应用程序。

Hi guys I am trying to make an app that once the user taps on a map it gets the coordinates of that specific point.

除其他我也看到了:获得攻地图android的坐标

这似乎是最相关的职位,但我想要做的是能不能在地图上的任何地方挖掘上标记/覆盖项目。其实我要创建在用户拍了拍说具体点标记,并获得它的坐标。

It seems like the most relevant post but what I want to do is to be able to tap anywhere on the map not on an marker/overlay item. In fact I want to create a marker in that specific point that the user tapped and get the coordinates of it.

这可能吗?

感谢

迈克

推荐答案

是的。事实上,<一href="http://stackoverflow.com/questions/4177305/get-coordinates-on-tapping-map-in-android/4177676#4177676">the回答我让步了,其他问题是你所需要的。

Yes. In fact, the answer I gave in that other question is what you need.

这篇关于在地图上Android的自来水,并获得坐标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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