mkpinannotationview Questions

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...

4

I am trying to capture tap event on my MKMapView, this way I can drop a MKPinAnnotation on the point where user tapped. Basically I have a map overlayed with MKOverlayViews (an overlay showing a bu...

3

I have loaded the custom annotation image for user current location.I am updating the current user location after every 1 sec in background. NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] in...
Vermicular asked 13/3, 2012 at 13:48

3

Solved

I add annotations to my map in this way: MyAnnotation *annotationPoint2 = [[MyAnnotation alloc] init]; annotationPoint2.coordinate = anyLocation; annotationPoint2.title = [NSString stringWithForma...
Micrometry asked 12/10, 2012 at 12:58

9

Solved

According to the Apple docs, MKPinAnnotationView's pin color is available in red, green and purple. Is there any way to get other colors also? I've found nothing in the docs.
Indole asked 26/7, 2009 at 21:32

1

Solved

I have been trying to put a draggable annotation on a mapview for ages. (I'm using the default pin, not my own) So far I can only display it at set coordinates (not much of an achievement, really) ...

5

I have an instance of MKMapView and would like to use custom annotation icons instead of the standard pin icons supplied by MKPinAnnotationView. So, I've setup a subclass of MKAnnotationView called...
Villar asked 7/12, 2009 at 0:38

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

2

Solved

I'm displaying user avatar images on a MapView. The avatars appear to be working if they are rendered without animation, however I'd like to animate their drop. If I set pinView.animatesDrop to tru...
Epiphenomenon asked 8/5, 2012 at 15:8

7

Solved

After calling MKMapView's setCenterCoordinate:animated: method (without animation), I'd like to call selectAnnotation:animated: (with animation) so that the annotation pops out from the newly-cente...
Wool asked 10/8, 2009 at 19:53

4

Solved

i add MKPinAnnotationView and setDragAble. my code is here - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation { MKPinAnnotationView *annotati...
Papilloma asked 21/2, 2011 at 16:42

3

Solved

I'm getting fairly frustrated with the limitations of MKMapKit. My current problem has to do with the z-ordering of annotation views, particularly as it relates to touches. If you accept the defaul...
Clardy asked 5/11, 2009 at 16:4

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....

3

Solved

I'm wondering if it's possible to use the MKAnnotationView inside a UIView other than MKMapView? I'm trying to find an alternative to using the undocumented UICalloutView class. I can create the MK...
Knesset asked 24/10, 2009 at 21:49

1

Solved

I've got a problem with my MKAnnotationViews when MKUserTrackingModeFollowWithHeading is enabled on the MKMapView. I positioned my images using the centerOffset property of the MKAnnotationView. S...
Iapetus asked 24/7, 2012 at 11:32

1

Solved

I want to track a person's movement on mapview in my iphone. I am using mapview which shows user's current location as well as one more pin which denotes another persons location say person A.I wan...
Canonicity asked 13/12, 2011 at 10:34

1

Solved

I have custom annotation pin at app: - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation { return [kml viewForAnnotation:annotation type:state...
Broads asked 24/11, 2011 at 12:39

1

The default pin drop animation doesn't work in my app, here is some code I wrote: - (void)viewDidLoad { /* some code... */ [theMapView addAnnotation:addAnnotation]; [addAnnotation release]; }...
Del asked 23/9, 2011 at 12:4

1

Solved

What is the width and the height of the MKPinAnnotationView pin in pixels? Edit: To be more concrete, the width and height of imaginary rectangle on iPhone screen containing the pin.
Albie asked 16/8, 2011 at 12:4

7

Solved

A custom AnnotationView is updated with new coordinates. But the problem is that it visually updates only after some manipulations with MKMapView, e.g. zooming or moving. What should I do to manual...
Heist asked 27/7, 2009 at 19:52

1

Solved

FirstViewController.h #import <UIKit/UIKit.h> #import <MapKit/MapKit.h> @interface TransparentToolbar : UIToolbar{ } @end @interface AddressAnnotation : NSObject <MKAnnotation> ...
Idleman asked 1/6, 2011 at 2:54

2

Solved

I want to create a custom callout bubble on MKMapView. But I want to create the call out bubble in the same manner of default bubble. So how to create a View look like annotaion in this image (so...
Jansen asked 29/3, 2010 at 10:41

1

Possible Duplicates: Custom MKPinAnnotation callout bubble similar to default callout bubble How to customize the callout bubble for MKAnnotationView? Does anyone know, or have code t...
Sentinel asked 29/8, 2009 at 0:44
1

© 2022 - 2024 — McMap. All rights reserved.