mkannotationview Questions

6

Solved

What i have I have about 150 MKAnnotationViews on a map. Every MKAnnotationView has an image that replaces the default pin. What's happening now When the map zooms in, the MKAnnotationViews are ...
Neary asked 27/11, 2011 at 15:42

3

I have a map I'm populating with a list of food trucks, and I'd like to implement a custom callout like the one shown below, when an annotation is selected. Currently I have the standard annotation...
Glossectomy asked 3/8, 2016 at 5:13

0

I have created a map image using the MKMapSnapshotter. Unfortunately the snapshotter does not let you add annotations so I would like to add my annotation directly onto the view. I know for a pin y...
Stroll asked 1/11, 2021 at 11:59

7

Solved

Im working with MKMapView and MKAnnotationView. I have an annotation in the map. When the users tap on it, the callOut Bubble is displayed. When the annotation is tapped again ( and the callOut Bu...
Frady asked 3/8, 2010 at 10:48

7

Solved

I have a custom MKAnnotationView where I set my image myself in viewForAnnotation. How do I animate it's drop like I can with MKPinAnnotationView? My code is - (MKAnnotationView *)mapView:(MKMapV...

7

Solved

I'm writing an application for iOS 7.0+ and I wanted to use new feature witch is: imageWithRenderingMode. I have a map annotation with this code: -(MKAnnotationView*)annotationView { MKAnnotation...
Anderlecht asked 27/3, 2014 at 17:19

2

Solved

Right now I am populating a map view with annotations, and also displaying the user's current location. With the viewForAnnotation method, it overrides all annotations with the default red pin, but...
Hodometer asked 1/8, 2012 at 20:40

7

I have a mapview where the annotation's coordinates are constantly being updated but when I use setCoordinate, the annotation does not move. How do I refresh the annotations to reflect their coordi...

1

Solved

before duplicating my questing please read the whole thing. i am using MkMapKit in my app and now I have to show people in cluster when zoom out the map, I have achieved numbering them out so far u...
Mcinnis asked 26/5, 2019 at 8:19

1

Since iOS 11, when I use setImage in my custom MKAnnotationView, the image is displayed with an animation. The problem is when I select and deselect the MKAnnotationView and the image has a differ...
Dennadennard asked 23/10, 2017 at 9:58

6

Solved

I have a MKMapView. I added a UITapGestureRecognizer with a single tap. I now want to add a MKAnnotationView to the map. I can tap the annotation and mapView:mapView didSelectAnnotationView:view f...
Papeete asked 19/6, 2013 at 20:41

3

Solved

I want to create a custom MKAnnotationView callout as shown in this image. I have tested several solutions but they only allow customization of the left/right images and title/subtitle. Can anybody...
Ought asked 5/11, 2011 at 7:39

8

(Using iOS 5 and Xcode 4.2) I have an MKMapView and want to draw a circle of 1000m radius around the user location. On the surface it would seem that implementing the mapView:viewForAnnotation: m...
Monotype asked 29/1, 2012 at 20:28

3

Solved

My code worked fine from iOS 7 to 8. With the update yesterday the custom images on my pins were replaced by the standard pin image. Any suggestions? My code: extension ViewController: MKMapViewD...
Rosalbarosalee asked 17/9, 2015 at 14:52

2

I have a normal map in my iOS app where "Shows Users Location" is enabled - meaning I have my normal blue dot on the map, showing my position and accuracy info. The callout is disabled in code. B...
Informed asked 26/2, 2014 at 9:42

5

Solved

So I have a MKMapView with all my pins added, and the colour of the pin is dependent on whether a value is set for that pin. When I first load the app, viewForAnnotation is called and the colours a...

3

Solved

I know this question has been asked multiple times, however all of the answers seem slightly different than what is going on in my app. My understanding is that the viewForAnnotation function is c...
Oospore asked 27/3, 2016 at 17:58

4

Solved

After watching WWDC video 206 I assumed this would be a trivial task of adding the detail callout view to a mapView annotation view. So, I assume Im doing something wrong. With my pin view set up...
Pompeii asked 15/9, 2015 at 8:17

3

Solved

On my iPad app I am using iOS map to display few points using annotation. I want to display custom callout too when an annotation is been selected. I am using UIPopoverController to show callout. H...
Logician asked 20/5, 2014 at 12:46

5

I am adding multiple annotations programmatically like this: - (void)addAnnotations{ NSInteger i; CLLocationCoordinate2D location; for ( i = 0 ; i < [storeLatitude count] ; i ++ ){ locatio...
Morbihan asked 5/7, 2012 at 9:46

1

Solved

MKAnnotationView animation in iOS using Swift 4 Add animation to pins for adding pins to map smoothly. While adding pins to map, it is not smooth or it has no animation effect. Is there any simple...

1

Solved

I'm trying to draw an annotation exactly as in a 'live' MapView, but then in a MKSnapshot. Why an MKSnapshot > because I want to have non-interactive MapViews in a UITableView and using images is m...
Florist asked 6/3, 2018 at 16:51

2

Solved

How can we ensure that the annotation views are placed in a specified order/ position on the map? I have a case where a single address can have multiple annotations (on top of each other). For exa...
Sympathizer asked 26/12, 2014 at 10:49

2

Solved

@IBOutlet weak var map: MKMapView! override func viewDidLoad() { map.delegate = self showAlarms() super.viewDidLoad() // Do any additional setup after loading the view. } func showAlarms(){ ...
Sachsen asked 23/1, 2017 at 6:20

3

Solved

I'm trying to change from Swift 1.2 to Swift 2.0 and I'm at the end of the changes. Currently I'm making changes in the MapViewController, and there isn't any error or warning, but the custom image...
Katricekatrina asked 29/9, 2015 at 9:3

© 2022 - 2024 — McMap. All rights reserved.