找出自定义位置的经度和纬度 [英] Find Out longitude and latitude for custom location

查看:89
本文介绍了找出自定义位置的经度和纬度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 我正在使用Bing Map定义自定义区域,选择我的位置,我需要找出当前经度和纬度的天气

 I am defining custom Region using Bing Map by selecting My Places, I need to find out weather the Current Longitude And Latitude

属于自定义区域

我正在定义自定义区域,该区域应该返回天气,经度和纬度值均为;

I am defining custom region which should return me weather provided longitude and latitude values are withing 

该地区。

推荐答案

您如何定义自定义区域? 这不是为你的地图提供了Lat和Long的边界吗?

How are you defining a custom region?  Doesn't that give you the bounding Lat and Long for your map?

如果你遍历地点的位置,你可以跟踪最小和最大纬度和长度并使用它来确定如果其他GeoCoordinates位于您所在的区域内。

If you iterate over the location of the places you can track the min and max Lat and Long and use that to determine if other GeoCoordinates lie within your region.


这篇关于找出自定义位置的经度和纬度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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