mkannotationview Questions
6
Solved
I would like to work with an annotation once it's clicked. I've looked it up on the documentation of Apple and I did googled but I can not find why this is any different than how it should be done....
Sector asked 3/11, 2014 at 11:44
2
On iOS11 the zPosition stopped working for the annotationView.layer. Every time the map region changes.
No luck with original solution: layer.zPosition = X;
No luck with bringViewToFront/SendVi...
Mendie asked 2/10, 2017 at 2:20
6
Solved
I have latitude and long values and I need to be able to drop a pin at this location.
Can anybody provide some advice on how to go about this?
Alcock asked 18/9, 2011 at 6:10
1
Solved
I am having an application running on app store, which has map view with other functionality.
Everything works perfectly till iOS 10 (all versions except iOS 11), now when I tested same app on iOS...
Tournai asked 20/9, 2017 at 11:36
1
Solved
My custom MKAnnotationView subclass do not set it's image property. Instead, it handle some subviews to be displayed.
I implement public func mapView(_ mapView: MKMapView, didSelect view: MKAnnota...
Isodiametric asked 1/9, 2017 at 10:13
3
I'm wondering if any of you knows a method (library, category, etc.) to cluster iOS MapAnnotations if there are many of them at the same location (e.g. 4 pieces in about 10m).
It doesn't matter to...
Titleholder asked 30/3, 2013 at 16:39
3
Solved
I'm trying to add MKAnnotationView to MKMapView but I can't do it… Can anyone help me?
Here is my code:
override func viewDidLoad() {
super.viewDidLoad()
locationManager.desiredAccuracy = kCLLo...
Objectionable asked 28/6, 2014 at 13:43
1
I want to do animation like "when scroll collection view cell the annotation pin goes Up/Down at the end of scrolling. But how to do animation like annotation pin goes Up when start scrolling and a...
Meade asked 15/12, 2015 at 5:20
4
Solved
I have a MKAnnotation with an custom pin image. However the pin(MKAnnotationView) centers the image in relation to the specified coordinate. I want to set the point of the coordinate at the bottom ...
Sax asked 17/11, 2011 at 10:2
7
I'm still pretty new to the iOS stuff in general and found a problem while testing our App for iOS 8 compatibility.
In iOS 7 everything worked fine but on iOS 8 the rightCalloutAccessoryView is mis...
Randellrandene asked 25/8, 2014 at 11:11
3
I'm creating a subclass of MKAnnotationView in my project. It needs to have two properties for storing subviews which I need to initialize somewhere at the beginning.
MKAnnotationView has one init...
Costin asked 9/4, 2015 at 23:43
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
5
I have a method of adding secondary nearby annotations (ann2) when I tap on another annotation (ann1). But when I deselect and re-select the exact same annotation (ann1) the ann2 re-creates it self...
Herold asked 28/2, 2013 at 11:56
1
Solved
I am using MKPinAnnotationView inside my App.
I am setting MapView object as delegate, and using this code for customising my AnnotationView
func mapView(mapView: MKMapView, viewForAnnotation a...
Watchcase asked 22/6, 2016 at 10:9
3
I have created an annotation which I'm adding to an MKMapView. How would I go about having a custom image instead of the standard red pin?
@interface AddressAnnotation : NSObject<MKAnnotation&g...
Durrace asked 18/9, 2011 at 12:18
0
I am new to iOS development and currently using the FBAnnotationClusteringSwift to cluster makers. My app needs to have two annotations which will not be clustered, as they indicate the source and ...
Bifrost asked 10/6, 2016 at 11:41
3
My iPhone app has a mapview with a large number of locations that the user can select from. I would like him to be able to tap on one of the annotations to display its callout view, and then again ...
Exaggerated asked 26/3, 2012 at 14:41
4
Solved
I have a custom annotation view on the map, which has a UIButton in it, but the UIButton is not responsive when pressed. I have two main problems with user interaction on the annotation view:
But...
Orography asked 28/7, 2011 at 17:10
0
I added a right button to callout, but now I'd like add a colored border to the whole bubble/callout. let's say I want the whole bubble with a colored border.
I thought to implement something as v...
Shithead asked 6/12, 2015 at 10:51
2
Solved
Fortunately, the standard callout view for an MKAnnotationView meets our needs - title, subtitle, leftCalloutAccessoryView, and rightCalloutAccessoryView.
Unfortunately, we use custom fonts in our...
Vincents asked 8/5, 2015 at 7:19
4
I am new to mapkit in objective-c. I am able to add custom annotation in mapview.
i need to place custom callout view like below image
.
But i didn't get how can i design callout view like this...
Kosel asked 1/5, 2012 at 7:25
1
Am trying to add custom annotations on MKMapView and implement custom callOut view on tap of annotation.
Am following this link for the same. The issue is when I add the custom annotation didSelec...
Pharaoh asked 23/10, 2015 at 7:33
3
i'm working on a custom annotationview that show a image of background, with inside a custom image.
I've based my code from this: Custom MKAnnotationView with frame,icon and image
And my actually c...
Hairsplitter asked 17/7, 2013 at 11:6
1
Solved
How do I make it possible, using MapKit in Swift, for the user to drag an annotation from one position to another within the map? I have set the annotation view to be draggable, when my map view de...
Dramatize asked 21/4, 2015 at 15:38
2
Solved
I managed to get a custom icon for a annotation pin in Swift, but now I am still stuck using 2 different images for different annotations. Right now a button adds a annotation to the map. There sho...
Attire asked 2/9, 2014 at 20:0
© 2022 - 2024 — McMap. All rights reserved.