mkannotationview Questions

3

Solved

In my Map application, instead of showing a pin, I want to show a colored background circle with image in it. The color of the background (which is shade of green in below image) circle is dynamic....
Xerxes asked 15/2, 2014 at 18:33

1

Solved

I am using a MKMapView (delegate is set correctly) with a MKPointAnnotation. The annotations are generated in this method called on a background thread. func updateMapAnnotations() { for var i = ...
Mccallum asked 23/2, 2015 at 8:20

2

Solved

I have a map and a set of annotations, each with a 'parent' property. Currently when I add annotations I implement the didAddAnnotationViews method to animate those annotations so they appear to co...
Southeast asked 19/12, 2011 at 16:5

1

Solved

I want to customise the iOS8 MapView Callout bubble which get visualised when clicking on a MKAnnotationView. The Default bubble is a bit limiting (having only Title,Subtitle and 2 accessory view) ...
Straightjacket asked 21/1, 2015 at 11:54

0

I would like to know if there is any way to change title font without creating a custom view? Something like this: annotation.title.font = UIFont.systemFontOfSize(12.0) I searched around, everyo...
Trainer asked 30/1, 2015 at 13:48

3

Solved

Any suggestions on what is wrong with the following would be appreciated. I am adding a custom image to an annotation using the following code. - (MKAnnotationView *)mapView:(MKMapView *)mapView...
Sovereign asked 1/3, 2011 at 6:53

1

Solved

Hello i have stuck in one situation on map where i have managed to show custom annotation. When the annotation is tapped i have to show a view with some information and one button. when user taps o...
Treasonable asked 17/12, 2014 at 6:24

3

Solved

It works great on iOS 7 but UIImageView's position shifts on iO8 like images below. Also rightCalloutAccessoryView position shifts top-right corner. Can anybody help? Cheers. In iOS 7 In iOS...
Fertile asked 21/9, 2014 at 10:13

3

Solved

I'm building an IOS app that uses the built in map view. Im successfully placing custom annotations, etc. However, I'm having a problem with the delegate function that is called when an annotation ...
Coughlin asked 29/10, 2014 at 0:8

1

Solved

The goal is to customize the pin colors per some values stored in an structure array. Per some help here I implemented the the following viewForAnnotation delegate method and that works great call...
Lelalelah asked 7/7, 2014 at 14:51

1

Solved

I have a working loop to setup annotations for the title and subtitle elements for some working data points. What I want to do within that same loop structure is to set the pin color to Purple inst...
Sawicki asked 2/7, 2014 at 5:46

1

Solved

I know this is a question asked a lot. I have been reading through many of the questions on here regarding this for a while. I was hoping someone would have a simpler way using the code I have to r...
Reparation asked 7/3, 2014 at 19:52

3

Solved

MKPinAnnotationView does not allow you to use a custom image as 'pin' and enable dragging at the same time, because the image will change back to the default pin as soon as you start dragging. Ther...
Comradery asked 21/9, 2013 at 14:15

3

Solved

I have an app for displaying map and custom annotation. My application crashes when the user touches on the annotation. It happens in iOS 7 only. It's working fine with iOS 6 and iOS 5. Following...
Dave asked 15/11, 2013 at 15:5

3

I previously created a custom callout bubble as a subview to the MKAnnotationView because the built in callout is so limited. This requires me to change to centerOffset of the MKAnnotationView when...
Magnetoelectricity asked 28/6, 2010 at 22:7

1

Solved

I'm getting this exception when trying to show the callout on my map annotation, even if the title is set. This is the init method I'm using in my MapAnnotation class: - (id)initWithTitle:(NSStri...
Jeanicejeanie asked 24/12, 2013 at 9:51

2

Solved

I have a UITapGestureRecognizer that will hide and show a toolbar over my MKMap when the user taps the Map - simple. However, when the user taps on an MKMapAnnotation, I do not want the map to res...
Phane asked 30/10, 2013 at 19:25

1

Solved

I'm having trouble getting the MKAnnotationViews show up on the map in MapKit. I'm using iOS 7, and have now searched the forums and the web for many hours, trying different samples and setups. Be...
Terret asked 8/12, 2013 at 23:20

1

Solved

I'm on iOS 7 and I have the following problem. I can't find a clue after some research curiously... I have a map view annotation with left and right accessories but transparent in the middle (def...
Sanferd asked 15/11, 2013 at 22:43

3

Solved

I made one demo project (from Moving-MKAnnotationView demo on github) for moving car on map following is its link https://github.com/pratikbhiyani/Moving-MKAnnotationView I edit my code on the ba...
Stirk asked 9/10, 2013 at 9:29

3

Solved

I am working on a little project that shows 7 different types of annotations on the map. My annotations are taken from a url result in array and I parse it using JSON. I have lots of annotations an...
Slow asked 10/5, 2013 at 22:48

1

Solved

I need to create above Annotation view on MKMapView. I am able to create the custom annotation view but on the tap of annotation the view need to be opened image with that big text, I am not able...
Teofilateosinte asked 27/4, 2013 at 13:35

1

Solved

Hi I am using a custom annotation in replacement of the blue GPS position dot. I have added it to the map like so in the viewForAnnotation. OurLocAnnotation class conforms to MKAnnotation delegate....

2

Solved

I learn about current NSXMLParser. I read many tutorials but none could tell me exactly how it works. there is a tutorial on StackOverflow? My problem is this KML read structur in my app and displa...
Guan asked 30/1, 2013 at 16:20

1

Solved

I create a custom MKAnnoationView as follows: - (MKAnnotationView *)mapView:(MKMapView *)theMapView viewForAnnotation:(id <MKAnnotation>)annotation { static NSString* AnnotationIdentifier =...
Dharna asked 12/12, 2012 at 20:28

© 2022 - 2024 — McMap. All rights reserved.