사용자가 MapViewer로지도를 클릭하면 어떻게 좌표를 얻을 수 있습니까? 내 라우팅 앱의 시작 및 도착지 두 좌표가 필요합니다. 따라서 사용자는지도를 클릭해야하며 앱은 좌표를 반환하고 위치에 점을 설정해야합니다. 두 번째 클릭에 대해서도 동일한 작업을 수행해야합니다. 그런 다음 두 알고리즘 모두 라우팅 알고리즘에 의해 처리되어야합니다. 나는 API17과 관련이있는 방법이나 다른 것을 찾을 수 없었다.지도를 클릭하여 Android MapView getcoordinates
1
A
답변
2
이 링크를 시도하십시오 : -이
How do I get the coordinates of a map on tap with MapFragment (not MapView)?
또는
Getting coordinates when clicking anywhere on a MapView
또는Get the center coordinates of map in Android Mapview
이 당신을 도울 수 ........ ..
관련 문제
- 1. MapView-지도를 계속 캐시하지 않음
- 2. 지도를 클릭하여 좌표를 얻으십시오 (openstreetmaps)
- 3. ANDROID - MapView
- 4. Android MapView
- 5. 지도를 이동할 때마다 Mapview 중심의 위도/경도를 업데이트하는 방법
- 6. 지도를 클릭하여 다른 프레임을 얻으려면 어떻게해야하나요?
- 7. android-지도를 사용하여지도를 보는 방법 lib
- 8. 지도를 사용하는 Android Getspeed
- 9. Android 맞춤 벡터지도 mapview
- 10. Android MapView 오버레이 전환하기
- 11. android mapview custom tile
- 12. 다른보기에서 변경하는 Android MapView
- 13. android MapView DrawLine
- 14. android mapView 오류
- 15. android mapview trafic 정보
- 16. android mapview marker 크기
- 17. 고해상도 타일이있는 Android MapView?
- 18. android mapview 부분적으로 공백
- 19. Android Custom MapView
- 20. 위치 레이블이없는 Android MapView
- 21. Android MapView 타일 오버레이 : 이미지 스트레칭 onZoom
- 22. Android MapView 좌표 x 화면 위치
- 23. Android mapView : 오버레이 항목 회전
- 24. Android MapView : 맞춤 애니메이션이 가능합니까?
- 25. pinch zoom, pan mapview android
- 26. openstreetmap overlay to android mapview
- 27. Android 4.0 MapView with ActionBar
- 28. POI의 Android MapView 그리기 버튼
- 29. Android MapView 비트 맵 문제
- 30. Android 사용자 정의 MapView 질문
http://stackoverflow.com/questions/14429877/how-to-get-screen-coordinates-from-marker-in-google-maps-v2-android. 이것이 도움이 될지 확인하십시오. – Raghunandan