admin管理员组文章数量:1335555
I'm trying to plot out GPS data that is given to me in Hour Minute Second degree format. Will GLatLng take it in this form or do I need to convert it first. Having a hard time finding anything on the internet about this. If it can take it in this format an example would be much appreciated.
I'm trying to plot out GPS data that is given to me in Hour Minute Second degree format. Will GLatLng take it in this form or do I need to convert it first. Having a hard time finding anything on the internet about this. If it can take it in this format an example would be much appreciated.
Share Improve this question edited Nov 17, 2009 at 21:41 Serhiy asked Nov 17, 2009 at 21:32 SerhiySerhiy 2,5553 gold badges34 silver badges49 bronze badges 1- 1 See this question: stackoverflow./questions/1140189/… – Chris B Commented Nov 17, 2009 at 23:44
1 Answer
Reset to default 8As far as I know it does not accept that format, but its really easy to convert it, just do the math:
var = hour+(((minute*60)+(second))/3600);
本文标签: javascriptCan Google Maps plot points based on Hours Minutes SecondsStack Overflow
版权声明:本文标题:javascript - Can Google Maps plot points based on Hours Minutes Seconds - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742396589a2467047.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论