Questions tagged [userlocation]

149 questions
0
votes
1 answer

Jquery Google Maps User location

I have the next script: var directionDisplay; $( document ).on( "pageinit", "#calc", function() { directionsDisplay = new google.maps.DirectionsRenderer(); var defaultLatLng = new google.maps.LatLng(34.0983425, -118.3267434); //…
Ofir Ohayon
  • 367
  • 2
  • 18
0
votes
2 answers

Take user to location when they get their location

I have code that gets user location and displays it on the mapView, but they have to zoom out and find themselves on the map, what I want is when the button is pressed it automatically takes them to where they are. Heres my code so far: -…
user3654554
  • 17
  • 1
  • 4
0
votes
2 answers

Check if the user location is near of some points

I have a question about GPS alarm. I have some points (latitude and longitude). I need a way to check if the user location is near to some of these points (approximately are 1800 points). If I remember correctly there is a best practice to do this:…
Safari
  • 11,437
  • 24
  • 91
  • 191
0
votes
2 answers

User location is showing like annotation

I have multiple Annotation in a MapView, listed in 3 different arrays. I've used the - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id)annotation method to change te Callout of the annotation. The weird thing…
SwingerDinger
  • 276
  • 1
  • 7
  • 21
0
votes
0 answers

obtain userLocation from mapView ios

I want to retrieve the current position and send it with a POST request to a server. I use mapView.userLocation.location.coordinate but it doesn't work and shows always 0.0 for lat and 0.0 for lng. This is .h of my controller: #import…
Alex
  • 23
  • 3
0
votes
1 answer

Bing Maps GeoLocationProvider service not working

I have recently posted a question regarding getting the user location which I thought I had solved using geolocation.GeoLocationProvider. However, I am having strange behaviour on different devices. On an iphone 5s, I get the most accurate and…
0
votes
1 answer

Location Query in Parse TableView

I have a PFQueryTableView which is supposed to gather the 10 closest store locations and display them in order of proximity. I query the tableview like so: - (PFQuery *)queryForTable { PFQuery *query = [PFQuery…
0
votes
2 answers

How to keep update user Location blue point using ios MapKit

I checked many links and googled it a lot. I tried those codes too but didn't succeeded so at last i am posting it here. can any one help me regarding user location update. I know how to show user current location it's just a…
preciouslogic
  • 65
  • 2
  • 7
0
votes
0 answers

Incorrect user location shown on MKMapView after scaling the map programmatically

I have MKMapView which have UserTrackingMode = MKUserTrackingModeFollow, and I have adding a circle overlay to show a region of the certain diameter at user location. Also user can change the diameter of the region so I want to scale the map to…
Andrey
  • 311
  • 2
  • 13
0
votes
1 answer

Display current position of user on google map at the same time as markers out database

I used the code from this link https://developers.google.com/maps/articles/phpsqlajax_v3?hl=nl I want to display the user current position so the user can see what markers are near them. Instead of displaying the user location the tutorial use…
Clayton
  • 11
  • 1
0
votes
1 answer

Could not get user location in Samsung Galaxy S3?

I have the following class to get the user location. public class GetUserLocation extends Activity { Timer timer1; LocationManager locationManager = null; LocationResult locationResult; boolean gpsEnabled = false; boolean networkEnabled =…
aman.nepid
  • 2,864
  • 8
  • 40
  • 48
0
votes
1 answer

signal SIGABRT, when trying to get distance to annotations

I'm trying to calulate the distance between the userLocation and my annotations (from plist), But every time im run the mapView im getting signal SIGABRT error. I'm doing the calculate in my mapViewController.m and want to show the calculated values…
0
votes
1 answer

iOS Mapkit - User location shown as 0, 0

So I am building a location based game and have a problem getting a users location to initialize properly. It doesn't always happen, but sometimes the location never changes from 0,0. This causes a problem as I have a loading view (vault) that…
JimmyJammed
  • 9,598
  • 19
  • 79
  • 146
0
votes
2 answers

How to check permission for userLocation

Is there a way to check if the user gave permission or not to my App use his/her location coordinates? I'd like check this before he/she press a button to submit some info, and I'll only activate this button if user gave permission. My app uses iOS…
Vellozo
  • 79
  • 4
  • 12
0
votes
2 answers

User Location Strange Issue

I have all concept of Maps how it works but I am stuck in very strange issue. As soon as open my Map Controller my default blue is visible (MKUserLocation) but when I am loading custom pins (IVMyLocation, Annotation class), default pin disappear. I…
Tariq
  • 9,861
  • 12
  • 62
  • 103
1 2 3
9
10