geolocation

Free web service to determine IP address zip code [closed]

眉间皱痕 提交于 2019-12-03 19:28:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Does anyone know of a free web service to determine the zip code of an IP address? 回答1: MaxMind GeoLite City http://www.maxmind.com/app/geolitecity 回答2: I realize this question is old, but this may still help other people. I found a free / open source (so you can even run your own instance and not be subject to

Windows Phone 8.1 location-tracking

别说谁变了你拦得住时间么 提交于 2019-12-03 19:09:04
问题 I want to realize an App that continuously send device's position to a web service. Looking in the documentation, I've found Geolocation class and some articles where position-tracking is discussed: How to continuously track the phone's location for Windows Phone 8 How to run location-tracking apps in the background for Windows Phone 8 Implementing both example projects discussed in these articles, I've noticed that the geolocator_PositionChanged() event is not fired at every position update.

Calculating Speed for a navigation app without getSpeed() method

一世执手 提交于 2019-12-03 19:04:56
问题 I am developing an app which is more of a time-shift racing between your friends. I need to calculate speed of a moving vehicle, and I don't want to use Location.getSpeed() method. (Explained in detail in the bottom why I don't want to use it) I am trying to calculate speed with the help of Latitude and Longitude available to me, and this is where I need help. The help needed: I would want to know is: If the algorithm is correct Should I calculate in Centimeters instead of meters And if there

Google API for location, based on user IP address [closed]

三世轮回 提交于 2019-12-03 18:22:22
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I am looking for a way to get the user's current location (city) based on is IP address using the Google Maps APIs. Something similar to http://freegeoip.net/json but only using the Google Maps APIs. Is this possible? 回答1: Google already appends location data to all requests coming into GAE (see Request Header

How to use geo-based push notifications on iOS?

允我心安 提交于 2019-12-03 18:20:26
问题 Is it possible to make use of geo-based push notifications on iOS when the application is killed (not in the background)? I am interested in building an app, where the user will choose a position on a map, and then if he/she for example is close to that area a local geo-based push notification would be triggered. However is this "idea" even possible? Can the GPS run and compare coordinates when the app is killed and run and notify the user when is in place? Is there a tutorial/article/more

How to get Latitude and Longitude in android?

你离开我真会死。 提交于 2019-12-03 17:37:58
How to get the current Latitude and Longitude in android2.3.3? I try to Follow this but I can't run programs. My code LatView = (TextView)findViewById(R.id.LatText); LngView = (TextView)findViewById(R.id.LngText); LocationManager lm = (LocationManager)getSystemService(Context.LOCATION_SERVICE); Location location = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER); double longitude = location.getLongitude(); double latitude = location.getLatitude(); In android manifest I put this. <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android

How do sites like Groupon segment geolocation based on the cities they have deals in?

人走茶凉 提交于 2019-12-03 17:20:56
Say you visit Groupon from the entry point Agoura Hills, CA - how would Groupon go about referencing that town to the nearest city that has deals (like Los Angeles) and choosing that as the closest? Is it grabbing lat/long from the location and calculating the distance from all available cities, choosing the shortest? If so, where can you get lat/long data like that for each city or an open api to use for this purpose? Groupon seems to use limelightnetworks as their CDN provider and most CDNs due to their distributed nature having some kind of geo-location database which they can map the

Converting Pixels to LatLng Coordinates from google static image

萝らか妹 提交于 2019-12-03 17:10:07
I am loading a image from google static Map API , the loaded satellite image is a place with hundreds of meters wide and length. https://maps.googleapis.com/maps/api/staticmap?center=53.4055429,-2.9976502&zoom=16&size=400x400&maptype=satellite&key=YOUR_API_KEY Additionally, the image resolution shows to be 10 meters, as shown below . My question is as I have known the centered geolocation (53.4055429,-2.9976502) and resolution of this static image, how would I be able to extend it to calculate the geolocation of left up or right bottom in the image, and finally calculate each pixel of the

iOS re-check location on load from background

倖福魔咒の 提交于 2019-12-03 16:35:05
I'm building an app which displays result data based on your current location. At the moment, I'm using the viewDidLoad method of a UIViewController to start the CLLocationManager and getting the current location. Once I have the location that matches the accuracy I desire, I do a request to my web service to get the results and dump it into a UITableView . My problem is that when you close the app (although it's still running in the background). If you were to drive to another town, re-open the app, the data doesn't get updated and continues to show the results from your old location.

Fused Location Provider not getting location unless GPS is on

一个人想着一个人 提交于 2019-12-03 16:32:38
问题 So I have implemented the new Fused Location Provider API to get a location of the user but for some reason, I cannot get any location unless the GPS is on. Not always, will users have their GPS on and I would like to not have to ask them to turn their GPS on every time the load the app. How can I tell the API to give me a location with whatever provider it has available? Here is my code: public class FusedLocationService implements LocationListener, GoogleApiClient.ConnectionCallbacks,