mkmapview Questions

2

Solved

After setting mapView.showsUserLocation to true, is it possible to receive location updates without showing the MKUserLocation bubble? Returning nil in mapView:viewForAnnotation: simply shows the b...
Rafael asked 14/3, 2012 at 23:25

4

Solved

I have this code to set the map at the user's location: MKCoordinateSpan span; span.latitudeDelta=0.2; span.longitudeDelta=0.2; CLLocationCoordinate2D location=mapView.userLocation.coordinate; l...
Fibrinogen asked 8/9, 2010 at 10:16

6

Solved

I found out how to draw a cricle around map annotation. I do it like this: MKCircle *circle = [MKCircle circleWithCenterCoordinate:theCoordinate radius:15000]; [myMap addOverlay:circle]; -(MKO...
Sennar asked 28/1, 2013 at 16:32

2

I am creating a simple point annotation with a callout inside the UITapGestureRecognizer delegate. The first time I tap on the map, the pin appears with the callout but the callout immediately dis...
Shoran asked 21/8, 2015 at 10:23

7

Solved

So now I'm at least getting callbacks with the following code... - (void)viewDidLoad { [super viewDidLoad]; mapView=[[MKMapView alloc] initWithFrame:self.view.frame]; //mapView.showsUserLocation=...
Andel asked 28/7, 2012 at 2:23

2

Solved

I am looking to be able to ask the app user for his/her current location and a pin to be automatically dropped on that location. Here is my code for grabbing the current location, but I am having t...
Tenebrous asked 30/11, 2016 at 17:35

3

Solved

I have a list of annotations (MKPointAnnotation). I have a UIViewController which is for the whole view, MKMapView implementing Controller, which I thought is useful for detecting the users interac...
Preston asked 8/3, 2013 at 10:54

1

Solved

I am working on a project where I need to create a similar iOS application to UBER and OLA where the car is moving based on the location. I'm looking for some kind of Library which can make Cars mo...

2

Solved

I am using mapView.showUserLocation = true to plot user location and display it as an Annotation on my MKMapView object. Now, when I have obtained the users' location, I want to plot a path from t...
Furlong asked 5/11, 2016 at 6:39

1

I am trying to use a number of UIGestureReconizers with an MKMapView onto which the user can drop a pin and drag it around. It has a callout. I am implementing this in a TabbarController and also w...
Claustrophobia asked 16/7, 2014 at 10:3

7

Solved

I'm using MapKit on iPhone. How can I know when the user changes the zoom level (zoom in\out the map)? I've tried to use mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated; but th...
Stopover asked 5/12, 2010 at 15:12

3

I checked the properties in documentation for MKCoordinateRegion, MKCoordinateSpan and MKMapView to see there is a way to get the TopLeft and BottomRight Lat Long from the map view and I didn't fin...
Evacuee asked 17/3, 2010 at 18:13

2

I am drawing MKPolyLine over MKMapView. Before iOS 10 is was working fine. In iOS 10 its showing color patches other than routes. - (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererFor...
Emulous asked 30/9, 2016 at 5:51

1

I have an app where i'm creating a views hierarchy where i have a mapview and a tableview. The mapview is under the tableview and is visible on the top when the table vertical offset is negative. T...
Patmos asked 5/11, 2015 at 14:19

1

Solved

In my swift application I'm using MapKit and I'm adding some annotations to the map. Currently, thanks to this question: Trying to get the span size in meters for an iOS MKCoordinateSpan I manage...
Zoril asked 23/10, 2016 at 18:7

1

In MKMapView in some zoom lvl all map tiles are blank. I try solution with max zoom. For now I use it like this: func mapView(mapView: MKMapView, regionDidChangeAnimated animated: Bool) { userS...
Flatcar asked 31/8, 2016 at 5:59

1

Solved

I would like to use a Map Kit View has a subview of a View Controller that occupies only a portion of the screen, rather than as a fullscreen view. I am unsure if the following is a bug that I sho...
Dissect asked 20/10, 2016 at 15:2

3

Solved

I add annotations to my map in this way: MyAnnotation *annotationPoint2 = [[MyAnnotation alloc] init]; annotationPoint2.coordinate = anyLocation; annotationPoint2.title = [NSString stringWithForma...
Micrometry asked 12/10, 2012 at 12:58

2

Solved

I have tried the below code : but it shows error cannot convert value of type float to expected argument type CLLocation degrees(aka Double) let lat = self.mallData.valueForKey("lat") as! Float ...
Walloon asked 27/9, 2016 at 4:19

2

Solved

I have a UITapGestureRecognizer setup to add an annotation onto the map where the user clicks. The problem I'm running into is when the user taps an existing annotation to view the tooltip, the too...
Weepy asked 5/2, 2014 at 22:9

4

Solved

I'm trying to understand how can I achieve a scrollview like Foursquare app uses. The map y position follows the revenue list when scrolling. UIScrollview with the map + a list of revenues as U...
Pluton asked 24/7, 2013 at 20:32

5

Solved

Is it possible to change the blue dot which indicates the user's location in MKMapView to an image? For example a little car or any .png image?
Gem asked 9/6, 2011 at 13:22

2

Solved

UPDATE 2: Here is the existing code within maps, but it is like the annotations get all out of order with the pins. One time a pin will be green, the next time I run it, the same pin is red. Where...
Donavon asked 30/8, 2016 at 19:20

4

Solved

I am doing a project using storyboard(first time using story board).In one of the viewcontroller there is a view with a mapview and a tableview containing prototype cells.I have included the mapkit...
Ronna asked 28/8, 2013 at 16:31

1

I use iOS MKMapView to show images as marker icons on the map. The problem is the images are always displayed on the top left corner of the screen. If I touch the screen or move the map a little bi...
Recover asked 1/9, 2016 at 13:55

© 2022 - 2024 — McMap. All rights reserved.