Questions tagged [userlocation]

149 questions
0
votes
1 answer

Userlocation keeps updating and won´t let me move freely through my map

Let me explain myself. I have created a Map where I show some locations (pins) and the user location. When I run the App, it opens and zooms in (span), then I want to move through the map, but the App "drags" the view back to the user location (it…
Daniel C.
  • 151
  • 1
  • 2
  • 10
0
votes
1 answer

Android, trying to find logic to store latitude and longitude values from user location

As stated in the question, I would like to save lat and longitude as a double so I can use them in my program. I can use setOnMyLocationChange listener, and from there create an object from the UserLocation class I have created which stores the lat…
AnonymousAlias
  • 1,149
  • 2
  • 27
  • 68
0
votes
1 answer

Request location updates based only on min-distance

I am developing a location based application in which i want to get location after movement of meter from previous position. I don't want to give minimum time in void requestLocationUpdates (String provider, long minTime, …
0
votes
2 answers

Log in and log out capture based on location in ios

I have worked on one application name time tracker. User can manually swipe in and swipe out manually by clicking the button. Now I would like to make it as automatic based on the location detection. For that I am using CLLocationManager class. It…
0
votes
2 answers

User Location is automatically called

In my code, I need to initialize my user Location: it works fine. But whenever I want to change my location (by selecting an adress or sweeping on the screen) my app brings me back to my user Location. I found a bit of an answer on that post. But,…
0
votes
2 answers

Location authorization issue in Objective C

I have an issue showing user locations in objective C. I tried everything i could find here in stackoverflow, aaaand, didn't work. So I have that code : -(void)setLocation { CLLocationManager *locationManager = [[CLLocationManager alloc] init]; …
0
votes
2 answers

Is it Possible to get last known location of device from other apps in iOS

Im building a location based application, where in i use CLLocation to get users device location. But my question, Is it possible to get users current/last know location from other apps in device which are already using Location services. So i can…
Mahesh S
  • 309
  • 1
  • 11
0
votes
1 answer

Facebook Android SDK 4.0+ user_location?

I'm trying hard to get User's country but I'm not able to get it. Not able to understand what exactly is wrong here ? I'm referring this documentation. This is what I have tried so far - public interface IFacebokLoginConstants extends…
0
votes
1 answer

Android Geocoder Timeout error

UPDATE: Looks Like it is because of google map service is down for the past day See here Im using geocoder to get user address from his lat, long. Till yesterday all was good , but today its giving me a timeout error: Unable connect to…
Nidhin Prathap
  • 696
  • 5
  • 15
0
votes
1 answer

Alternative way to get user Lat and Lng without didUpdateLocations?

Is there an alternative way to get the user's latitude and longitude without using the function didUpdateLocations. I only want to do this once and set the initial region when the view is loaded, not every time the user's location is updated. I know…
Pablo Picasso
  • 133
  • 2
  • 12
0
votes
1 answer

How to make a button to show location in iOS 8?

This seems like very basic question but I didnt find anything, and I have tried all!! I just want to make a button to zoom in into users location! This is what I've got so far: CLLocationCoordinate2D userLocationCoordinate; - (void)viewDidLoad { …
Karlo A. López
  • 2,548
  • 3
  • 29
  • 56
0
votes
1 answer

Swift - How to change description of current user location marker?

I tried something like this: var description:String = "Custom Text" map.userLocation.description = description or var description:String = "Custom Text" map.userLocation.description(description) But both are wrong, I'm not sure how to do that.…
theDC
  • 6,364
  • 10
  • 56
  • 98
0
votes
1 answer

App where i can see my friends location

I'm developing a google maps based app. I would like to integrate the capabilities of being able to see your friends location/s (similar to how you can see uber cars or fiend my friends). currently i have a facebook signin option. Does anyone know…
Miguel
  • 333
  • 2
  • 13
0
votes
1 answer

Find user location (Please help me fix below or suggest any other way)

Hopefully, some one can help me with this issue. I am trying to implement a global site and hence was looking for a way to detect user location. I do not want to use any ip2location webservice or download a database or ask for user to "share…
0
votes
2 answers

iPhone Development - Location Accuracy

I'm using following conditions in-order to make sure that the location i get has adequate accuracy, In my case kCLLocationAccuracyBest. But the problem is that i still get inaccurate location. // Filter out nil locations if(!newLocation) …
Mustafa
  • 20,504
  • 42
  • 146
  • 209