0
votes
0answers
66 views

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 ...
1
vote
3answers
115 views

MKMapView Loads before LocationManager has got user location - cannot set Region to center on user location

I have an iOS app where Im loading a MKMapView as the app starts. I want to set the center of the "MKCoordinateRegion" to be the user latitude/longitude. However, the CLLocation Manager instance does ...
1
vote
1answer
213 views

Custom user location image not centered on pin

So I'm really confused. I used: - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation { static NSString* AnnotationIdentifier = @"Annotation"; ...
0
votes
0answers
43 views

Add Border Shadow to userLocation Pin

I'm added custom images to the user location pin in my map view and I want to add a shadow around the border. Can anyone tell me why this code doesn't work? [customPinView.layer ...
0
votes
0answers
53 views

iOS creating a MKAnnotation class similar to UserLocation

I have an application that fetches an array of coordinates from a db every second. The coordinates are constantly changing because they are the location of another device, and every time that device ...
0
votes
0answers
192 views

iOS Mapkit - Core Location v. Map User Location

So I have a map and need to be able to calculate distances between the user and other objects. I am using core location as it allows more functionality (as well as background tracking). I recently ...
1
vote
1answer
235 views

Track selection of user location annotation in MKMapView

I have an iPhone app that zooms to the nearest city of the user's location and I want the user to be able to double tap on the userLocation annotation and have the map zoom into about a block or so. ...
0
votes
1answer
520 views

Create a iOS6 Maps MKUserTrackingBarButtonItem button

I want to create a MKUserTrackingBarButtonItem the same way iOS6 have it. Like a floating UIBarButtonItem. ( http://cl.ly/image/1Q1K2S1A1H3N ) Can you give some advice in how to achieve this? Thx!
0
votes
1answer
104 views

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 ...
1
vote
4answers
2k views

How do I remove all annotations from MKMapView except the user location annotation?

I use removeAnnotations to remove my annotations from mapView but same it remove user location ann. How can I prevent this, or how to get user ann back to view? NSArray *annotationsOnMap = ...
0
votes
1answer
685 views

How can I create a custom callout view for MapKit user location?

I have created a custom MKPinAnnotationView for all my map pins, but I'm having a problem customising the user location pin. If I create a custom pin for it, then I lose the blue pulsating dot and it ...
1
vote
3answers
2k views

how to draw route from userlocation to some pin in iphone sdk?

I am implementing map based application in iPhone sdk. I want to give functionality in map view like Google maps directoins. means is at some location from that he selects one pin from multiple pins ...
0
votes
2answers
645 views

Get the accuracy of an MKMapView Location

I was wondering if there's a way to obtain the accuracy of a received location from an MKMapView. I would have thought the following code would work but it doesn't. Can I log the property directly ...
0
votes
1answer
557 views

How can I set mapView's userLocation to a MKUserLocation that I created?

Im trying to do some coding about improving the iPhone positioning accuracy. I got all needed info(e.g. latitude, longitude, deviceMotion, Gyro..) from my iPhone hardware and need to display the more ...
0
votes
0answers
219 views

app crashes if i set the show userlocation to NO xcode

i am working on a map application , if i set "map.userlocation" to "NO" the app crashes , - (void)viewDidLoad { [super viewDidLoad]; listOfItems = [[NSMutableArray alloc] init]; NSString *path ...

1 2
15 30 50 per page