Questions tagged [currentlocation]

Current Location refers to programmatically identifying the GPS location of a device, such as an iPhone app requesting information about its current location to display in a map or find nearby places, for example.

Current Location refers to programmatically identifying the GPS location of a device, such as an iPhone app requesting information about its current location to display in a map or find nearby places, for example.

See also:

221 questions
1
vote
1 answer

How to get the user location from the web app running on Heroku?

I am having a problem that when I get user location by using http://freegeoip.net/json, it seems to get the location from where the Heroku server is located. I used Flask to make the web app. I uploaded the web app through Heroku.
Itaru
  • 33
  • 4
1
vote
1 answer

Xamarin Location Service OnLocationChanged dont trigger

We have one problem where it happen randomly on certain devices which is the OnLocationChanged event cannot be triggered. LocationManager.RequestLocationUpdates(LocationManager.GpsProvider, 30000, 100,…
user2021195
  • 105
  • 11
1
vote
1 answer

How google map track user location all the time even if app is closed and not running in background?

In google iOS app, your timeline shows all the location tracked by google map, even if your app is closed. Any idea, how this can be achieved?
Tejinder
  • 1,507
  • 19
  • 22
1
vote
1 answer

Python 3.3.5 - Get my current location's lat and long

I am working on a project which requires my current location's exact lat-long. I tried to run the code using Google Maps API as well as http://freegeoip.net/json on windows 7 machine, but nothing seems to take 'My current location' as an input and…
Sanket
  • 119
  • 1
  • 6
  • 15
1
vote
1 answer

How can I access my current location in onLocationChanged, in getMyLocationAddress method?

I want to access my current location which is in onLocationChanged method in getMyLocationAddress to set text of a text box. I want to know in which variable is my location exactly stored so that I can use it in geocoder.getLocationFrom(). i am…
1
vote
2 answers

App crashing when open map in dialog

i have custom dialog, i want to show map in the dialog it's working fine but when i show the second time at that time my app is crashing, i stuck in it from many days please guys help to solve it!!! My code is below
user5418227
1
vote
1 answer

How to show current location of user while open my app

I want to make an app, when user open my app user will get their current location in my app and while user change their location it will also update after some specific time. I got solution of changed location while user change their location but i…
1
vote
0 answers

How can we implement tracking mode on Google Map?

When I try to implement user tracking mode(like ios) on google map, the mode tracks to user we she/he moves along way, I could not find any documentation on its official side.Which method provides like picture2? My map's settings as below code…
1
vote
0 answers

MyLocation doesn't work in app (SWIFT3) Map Kit

I am trying to get my current location but my app will not do it :( Could you please help me to identify whats wrong? The app works without any errors. import UIKit import MapKit import CoreLocation class MapViewController: UIViewController,…
stefan s
  • 129
  • 1
  • 1
  • 10
1
vote
1 answer

locationManager not being recognized as a class variable

I am trying to implement the locationManager methods and the let locationManager = CLLocation() variable is not being recognized anywhere in the code. The errors showed up when I added the didUpdateLocations and didFailWithError methods. Im trying…
cosmos
  • 153
  • 1
  • 15
1
vote
1 answer

Android studio Google maps current location to destination

I have been struggling to make an activity to calculate the current position of the user and then draw a route on the map. Here is the code: public class MainActivityMap extends FragmentActivity { GoogleMap map; ArrayList markerPoints; …
1
vote
2 answers

How can I fetch google map with current location?

I tried to fetch a google map with current location but I got this error FATAL EXCEPTION: main java.lang.NullPointerException in map= ((SupportMapFragment) getActivity().getSupportFragmentManager().findFragmentById(R.id.map)).getMap(); java…
sonia_
  • 21
  • 4
1
vote
0 answers

How can I add transparency circle around to the current location of the google map?

This is my circle part of the code,Tell me how to further implement this code??What I want to add to get transparency shape of color?? Circle circle = map.add Circle(new CircleOption()) .center(new…
1
vote
6 answers

Current Location in Google Maps with swift

I'm trying to display the user's current location on a google map but in the case below, the map doesn't even get displayed. What should I change to fix this? var locationManager = CLLocationManager() override func viewDidLoad() { …
1
vote
1 answer

How to get the best current location with a time limited search?

I want to know a way to search for current location limited by a timer. During that timer, the app should search various possibilities for current location which they will be filtered to get the best estimation. Basically, I'm trying to do…
Hugo Fonseca
  • 87
  • 1
  • 1
  • 6