如何使指南针指向我特别的经纬度位置,根据我目前的位置? [英] How to make compass point to my particular latitude longitude location based on my current location?

查看:167
本文介绍了如何使指南针指向我特别的经纬度位置,根据我目前的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个Android应用程序,我想指南针指向一个特定的经纬度位置,而不是通常的北位置。任何人都可以提出如何实现这一点。我已经开发了指向正北方向的应用程序。
  在此先感谢在如何实现这一点。任何演示应用程序,这是否将是很大的帮助。

I'm developing an android application where I want the compass to point to a particular latitude longitude position instead of the usual north location. Can anyone suggest how to implement this. I've developed an application which points to north direction.
Thanks in advance in how to implement this. Any demo application which does this would be of great help.

推荐答案

看看这个教程。它应该让你在正确的方向指南针教程开始 另外这里是个不错的选择二指南针教程

Check out this tutorial. It should get you started in the right direction Compass Tutorial Also here is another good one Second Compass tutorial

这篇关于如何使指南针指向我特别的经纬度位置,根据我目前的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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