Questions tagged as 'mapkit'

1
answer

Error Can not invoke initialize for type "CLLocationCordinate2D" with an argument of type "latitude: String"

I'm developing an app that captures the user's location with Core Location and saves it to a file. Now I have a mapview and I need to display this location on the map (this location comes from the file). I'm using this code: override f...
asked by 25.09.2015 / 03:14
2
answers

Map showing place of search swift

Well, I'd like to know how I can get my map to show the place I've been looking for and center the view at this point. I was able to do with the current location as follows: self.mapDisplay.setUserTrackingMode(MKUserTrackingMode.Follow, animat...
asked by 17.01.2015 / 02:38
1
answer

MKMapView circular swift

I wonder if you can leave MKMapView in Xcode in a circular format. I tried to use mapView.layer.cornerRadius, but I still could not do it     
asked by 18.01.2015 / 22:54
1
answer

Refresh annotations

I need to update annotations on the map after inserting values in CoreData. I have the first view with the map, and a second where I add the new values to new annotations, but it is only when I enter the application for the first time that the a...
asked by 16.06.2015 / 13:38
2
answers

Pick up user location

class ViewController: UIViewController { var locationManager = CLLocationManager() @IBOutlet weak var meuMapa: MKMapView! override func viewDidLoad() { // Ask for Authorisation from the User. self.locationManager.requestAlwaysAuthorizat...
asked by 26.09.2016 / 02:28
0
answers

Record route according to the advance

How to record route using CLLocation and Mapkit , and mark several points on the map updating as it moves?     
asked by 26.11.2014 / 13:43
1
answer

How to find coordinates in Apple maps?

I need to show several different places on the map, one for each location, I would like to know how I can point to each coordinate through the code? In case the app is for iOS, using Objective-C.     
asked by 20.10.2014 / 03:29
1
answer

You are not accepting to click the annotation for the second time

I'm using an annotation customization in my mapkit project (swift 3) to show more than one annotation (pin) on the map. It is showing and you can click annotationn, but only the first time. So I can click and annotate and open it, only if I clic...
asked by 08.11.2016 / 17:53
1
answer

Passing places and coordinates of a UITableView to a MapKit

This is my first App, and basically consists of making locations available in a UITable (app entry point) and querying them in a MapKit (StoryBoard model). How can I make the call? I am trying to use an NSDictionary for the values in the tabl...
asked by 02.02.2017 / 18:55