列表 第页
我有一个主要活动从我的MySQL解析JSON数据(表追踪:Lattitude和纬度)现在,我想通过这个数据,我MapActivity并显示在谷歌地图。任何帮助是非常AP preciated。谢谢!I have a main activity which parses the JSON data from my mys...阅读全文
我使用下面的code,让我的当前位置。但我面临的问题是,它总是返回0.0的经度和纬度。我打开了手机上的GPS设置,并设置所有权限。不过还是我面对这一点。I am using the following code to get my current location. But the problem I am faci...阅读全文
我想获取GPS纬度和经度,但我有一个查询,每当我尝试获取纬度和放大器;长期不用的SIM卡,它没有提供任何信息的地方,一旦我插入我的SIM卡,它提供了我所期望的方式的所有信息。I am trying to fetch Gps latitude and longitude, but i am having a query...阅读全文
我有我的移动应用程序,谷歌地图的Android的API V2的任务。现在,我需要得到纬度/经度跨度。我用 MapView.getLatitudeSpan()和 MapView.getLongitudeSpan()在previous版本的API。现在,我找不到这样的事情在V2。I have a task for m...阅读全文
在我的应用程序中获取当前位置的经度和纬度,当应用程序是开放的,但是当它关闭应用程序无法获得当前位置的经度和纬度In my application get the current location latitude and longitude when application is open ,but when i...阅读全文
我想获得一个位置的纬度和经度的地址。我不希望得到从GPS纬度和经度,也不是在网络I want to get the latitude and longitude of a place from an address.I don't want to get the latitude and longitude fr...阅读全文
我移植iOS应用程序到Android,并使用谷歌地图Android的API V2。应用程序需要绘制热图叠加到地图上。I’m porting an iOS app to Android, and using Google Maps Android API v2. The application needs to dr...阅读全文
我怎样才能得到一个特定的位置,我早就点击在Android的地图?How can I get the Latitude and Longitude values of a particular location that I have long clicked on the map in Android?推荐答案对...阅读全文
我怎样才能获得纬度和当前位置的经度,从机器人?How i can get the latitude and longitude of the current location, from android?推荐答案您可以用LocationListener的类来获得的坐标,而在移动。you can use the...阅读全文
我想通过45.44334获得的GeoPoint为-23.4456 I am trying to get a GeoPoint for -23.4456 by 45.44334我要传递到的GeoPoint的构造什么样的价值观,因为只需要整型。What values do I pass into the constr...阅读全文
我试图让纬度和经度而是时间,一段网络可用,但我没有得到纬度的价值和经度。我使用的 MyLocationListener 类,并把所有的条件,但一段时间值是没有得到。保护无效showCurrentLocation(){位置位置= locationManager.getLastKnownLocation(Locati...阅读全文
下面我下面code用来计算之间有两个地方使用他们的经度和纬度的距离$ C $词。这是给错了距离。有时会得到正确有时变得无关紧要的距离。我们得到LAT1和lng1从数据库。//获取LAT2和lng2从GPS如下公共类MyLocationListener实现LocationListener的{@覆盖公共无效onLoc...阅读全文
我有一个问题。我想找到我的纬度当前位置的经度和Android应用程序中。我只需要它的时候我很稳定,我的电话。我的code是:LocationManager locationManager;locationManager =(LocationManager)getSystemService(Context.LOCATIO...阅读全文
我们的公司正在使用AWS CloudSearch搜索和检索用户data.User数据包括类型纬度,经度的字段位置的。因此,对于一个给定的半径和位置要找到的所有用户在半径的范围内。如何编写搜索查询检索所需的数据? 我们正在使用的node.js作为服务器端语言。 请大家帮帮忙。Our company is using...阅读全文
如何使用定位工具,我得到了移动设备的当前经度和纬度的Android?How do I get the current Latitude and Longitude of the mobile device in android using location tools?推荐答案使用的LocationManag...阅读全文
由于长期/纬度坐标的数据库重新presenting目标和一系列纬度/经度重新$ P $的psenting多边形的边界坐标重新presenting区。使用一个简单的光线投射算法是安全的治疗纬度/只要直角坐标确定的目标是在禁区内?Given a database of long/lat coordinates repre...阅读全文
今天来了一个小问题。 Today come out a little problem. 我已经以这种方式坐标(纬度和经度)的阵列maded:I have an array of coordinates (latitude and longitude) maded in this way: [0] = "45...阅读全文
我的工作Java中的地理项目。I am working on a geographic project in Java.输入的坐标:24.4444ñ等输出:一个PLAIN地图(不圆)表示的坐标的点The input are coordinates : 24.4444 N etc Output: a PLAIN...阅读全文
我有一组液化天然气/纬度坐标。这将是计算所述集合(以下简称最大直径如果你愿意)任意两点之间的最大距离的一个有效的方法? 一个幼稚的方法是使用半正矢公式计算每个2点之间的距离,并得到最大的,但是这并不能很好地扩展明显。编辑:点位于一个足够小的区域,测量,其中一人携带的移动设备在一天的课程是活跃的区域解决方案 我觉得下面...阅读全文
知道一个数字纬度 十进制经度 速度(公里/小时) 标题如何找到汽车的下一个位置 60秒后?是否有任何的算法来做到这一点?knowinga decimal latitude, decimal longitude, speed (km/h), headinghow to find the next positi...阅读全文
我需要用户能够利用一个复杂的多边形地图上,然后具有该应用程序检查,如果一个给定的经度/纬度驻留在多边形内I need the user to be able to draw a complex polygon on a map and then have the application check if a give...阅读全文
我正在与一大组重新由纬度/经度对psented $ P $点(这些点不一定是唯一的,有可能是几个点在该组是在相同的位置)。该点被存储在数据库中。I'm working with a large set of points represented by latitude/longitude pairs (the poi...阅读全文
有没有人有一种算法从一个纬度/经度确定方向到另一个(伪code):Does anyone have an algorithm to determine the direction from one lat/lon to another (pseudo-code): CalculateHeading( lat1, l...阅读全文
我试图寻找这件事,但我不能在任何地方找到它:I tried looking this up but I cant find it anywhere:我要创建2个新的经度和2个基于一个坐标和在米的距离新的纬度,我想创建一个围绕某一个点一个漂亮的边框。它的规模小,最大1500米+和1500米 - 。所以它是一个城市的一...阅读全文
鉴于与纬度+经度位置的地方的数据库,如40.8120390,-73.4889650,我将如何找到特定位置的给定距离内的所有位置?Given a database of places with Latitude + Longitude locations, such as 40.8120390, -73.4889650...阅读全文
我有一组纬度和经度位置的。 I have a set of latitudes and longitudes of locations. 如何找到的设置为另一个距离从一个位置? 有没有公式?How to find distance from one location in the set to another?...阅读全文
有一个简单的计算,我可以做,这将公里转换成价值,我可以添加到纬度或经度浮点计算的搜索边界框?它并不需要完全准确。Is there a simple calculation I can do which will convert km into a value which I can add to a lat or l...阅读全文
如何计算纬度和经度指定的两点之间的距离?有关澄清,我想以公里的距离;该点使用WGS84系统,我想了解可用的方法的相对精度。解决方案 这链接可能对您有所帮助,因为它详细介绍了使用半正矢公式来计算距离。节选:该脚本[在Javascript]计算两个点之间的大圆距离 - 的,也就是说,在地球表面的最短距离 - 采用半正矢的...阅读全文
您好,我使用Bing地图在我的网站,并希望长期经纬度精确定位在Bing地图的位置。我的问题是在我的网站我怎样才能纬度长时间使用脚code的区域。是否有任何的API,我可以用它来给予销区code纬度长的查询用。我想这样做在后台。使用一些Ajax调用特定的Web API,并取回土地增值税郎并将其保存到数据库中,这样我可以使...阅读全文
我做的Ajax调用来检索存储在SQL数据库存储位置的纬度和经度。这是我的ajax调用和返回所有拉特和LNGS的JSON对象。I am doing an ajax call to retrieve the lat and lng of stores locations stored in sql database. T...阅读全文
我只需要知道如何去从经度和纬度得到一个职位code。使用IM的谷歌地图API来获取长期LAT基于搜索,如'曼彻斯特'然后我需要获得那个职位code从这个查询我的数据库。我的code迄今函数getLatLng(){VAR本地搜索=新google.maps.Geo codeR();变种后code = $(#地址)VAL(...阅读全文
我是开发与谷歌地图V2,以获得最近的加油站与他们的地位,如果他们有气体或没有一个Android应用程序,现在我伸手去拿我的当前位置和吸取我的当前位置和给定的经度和纬度之间路由并获得在驱动模式到该位置的距离和持续时间。我的问题怎么去附近的加油站,有没有办法让他们得到经度和他们的宽容度,因为我想要执行的是让最近的一个与它的...阅读全文
我需要的纬度和经度值转换为一个点,在3维空间。我一直在想这个约2小时了,但我没有得到正确的结果。I need to convert latitude and longitude values to a point in the 3-dimensional space. I've been trying this fo...阅读全文
通过我的应用程序,我上传图片到数据库中。与图像我想捕捉图像的拍摄使用EXIF数据的位置。当我测试了我的手机上的纬度和经度没有上传,但只有一个圆形的正数。Through my app I upload images to a database. With the images I want to capture th...阅读全文
喜iwant检查纬度长的当前位置在Android模拟器如何才达到这个.. ??就可以获取当前位置的经度和纬度上的模拟器???如果是的话那么什么设置需要在模拟器?@覆盖公共无效的onCreate(包savedInstanceState){super.onCreate(savedInstanceState);的setCo...阅读全文
我想获得按钮preSS位置的对象。我知道LocationListener的回调,但它们只在特定的时间或距离之后执行。我想获得位置瞬间。有没有做任何这样的方法。I want to get the Location object on Button press.I know the LocationListener c...阅读全文
我想转换一个纬度/经度点到一个2D点,这样我可以在世界这是墨卡托投影的图像上显示。我已经看到了这样做的各种方式和堆栈溢出 - 我尝试了不同的code片段和一些问题,虽然我得到了正确的经度像素,纬度始终关闭,似乎越来越更为合理,虽然。我需要的公式考虑到图像尺寸,宽度等。我已经试过这片code:双minLat =...阅读全文
我试图开发一个Android应用程序(名为ContactListFinder)它遵循以下步骤i am trying to develop an android app (named ContactListFinder) which follows the following steps通过android.provi...阅读全文