mapkitannotation Questions
2
I am trying to prevent MKMapKit from presenting the default annotation callout when tapping on a marker displayed on a MKMapView without blocking the delegate call / interaction of the annotation (...
Smaltite asked 3/5, 2017 at 17:10
3
Solved
Hi i have an MapView in My Project i need to remove all the labels Annotations, places from MapView. Looks like Plain mapView
i tried the Following Code its working fine but still i getting some b...
Parka asked 18/6, 2018 at 9:9
5
I need your help, I'm working on an App where I have some pins (locations) and what I want is to get the distance between each one and my location. My code is the following
let annotation = MKPoin...
Atom asked 23/5, 2017 at 16:0
5
Solved
I have an array of latitudes and another array of longitudes that I add to an array of type CLLocationCoordinate2D. I then use the new array to annotate multiple points on the map. Some, or most, o...
Carmen asked 28/2, 2018 at 0:13
0
I am trying to show a custom call out on top of pin in the map. It is required that I show an image with some text on top of pin as my call out. The code I wrote produces the following output.
H...
Blitz asked 7/9, 2019 at 13:12
1
Solved
I have a MKMapView with several annotations and 3 of them are very close to each other.
I used mapView.showAnnotations(mapView.annotations, animated: false) to display all annotations on the same ...
Elroyels asked 12/9, 2017 at 15:56
1
Solved
Attempting to show custom point annotations from MapKits local search. When the annotations first load on the map all of them show, but then the overlapping ones disappear. And they only reappear w...
Dominic asked 23/4, 2019 at 21:31
2
I’ve been trying out the new iOS 11 MKMarkerAnnotationView, and finally clustering works like a charm. But the problem is that the clusters have the wrong color as you can see in the picture. How c...
Phina asked 13/10, 2017 at 8:56
2
Solved
I'm trying to register custom annotation views (I create them as a subclass of MKAnnotationView), but I have some trouble with that. Initially, I've tried to register only one custom annotation vie...
Barrow asked 29/10, 2017 at 23:48
2
New coder, trying to figure out how to use MapKit. The goal is to create a map that users can add pins to using their address. However, the step I am at now, I am having trouble figuring out how to...
Arlon asked 30/10, 2016 at 18:2
3
Is there a way to create multiline annotations?
Here is my code:
1) My customAnnotation class
import UIKit
import MapKit
class CustomAnnotation: NSObject, MKAnnotation {
var title: String?
...
Bod asked 25/5, 2016 at 19:40
2
Solved
I am using Alamofire and SwiftyJSON to auto complete Google Places. I integrated it well and good like this :
Now, what I need is if I select a place from the table view, it is selected in the t...
Rapping asked 6/1, 2016 at 19:40
5
Solved
I am having some trouble getting a custom annotation to load inside of my map view when I try to place a pin.
import UIKit
import MapKit
import CoreLocation
class MapViewController: UIViewCo...
Interfertile asked 8/7, 2016 at 19:31
1
In IOS I have a map with several MKAnnotation,
Clicking on one of them I see the bubble with a text,
but the text is too long, then it is not displayed in its entirety.
I'm looking for a way to...
Leishmaniasis asked 22/5, 2014 at 18:23
1
Solved
I'm trying to use an MKOverlay (specifically an MKPolyline) to show a route on the map. However, I need the route to show up above my existing pins (custom MKAnnotationViews). Is there a good way t...
Clothespress asked 20/10, 2015 at 15:34
1
Solved
I don't know how to change the code for the pin color in iOS 9 (because lately Apple changed the code for it), and I'm still new in Swift. So, I don't know how to integrate pinTintColor in my code ...
Turnstile asked 28/9, 2015 at 3:39
1
Solved
I need to replace the default annotation view with my custom annotation view.
I need the do following things:
Custom Annotation view with an image view embedded in it.
A view below it which cont...
Rickyrico asked 22/5, 2015 at 12:28
1
© 2022 - 2024 — McMap. All rights reserved.