mkannotationview Questions

1

Solved

I have used annotation map and used more than one image for the pins but whenever I zoom in or zoom out, it changes all the pins to one image. I get the locations from a web service and to recogni...
Birl asked 6/12, 2012 at 14:1

1

Solved

I parse an xml that contains the string 0 ,1 and 2. //For reference 0 = Green 1 = Red 2 = Purple I have a class that confirms to the MKAnnotaion that contains the below variables that are propert...
Erminois asked 23/11, 2012 at 1:46

1

Solved

The regular annotation pin's origin is in the middle of the bottom so, the pin always point to the same place. But when I add my custom image, its origin is the center of the image, so every zoom ...
Flopeared asked 21/11, 2012 at 11:23

1

Solved

Resize MKAnnotationView Image When map zooms in and out? This methord are successful on iOS5, but failed on iOS6. I change the MKAnnotationView's transform directly, and no luck. The MKAnnotationV...
Bedad asked 28/9, 2012 at 17:52

3

I add a CABasicAnimation to the AnnotationView layer to simulate a car moving on the mapview. This works fine until I try to zoom in or out the mapview when the animation is in progress. I found...

9

I'm currently working with the mapkit and am stuck. I have a custom annotation view I am using, and I want to use the image property to display the point on the map with my own icon. I have this w...
Embay asked 14/10, 2009 at 12:2

1

Solved

I am using a mapView and am trying to make a callout pop up when you click on a pin which is shown on the map. The pins manage to be placed in the proper locations so I think the annotations work...
Parental asked 11/8, 2012 at 0:25

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

2

Solved

I have created Custom Annotation with following: -(MKAnnotationView*)mapView:(MKMapView *)mapView viewForAnnotation:(id<MKAnnotation>)annotation { MKPinAnnotationView *view = nil; if (ann...
Offing asked 14/2, 2012 at 11:20

1

Solved

I want to add a custom image to my annotations in the map. And i have made the following custom MapAnnotationView: #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #import &lt...
Damato asked 9/3, 2012 at 9:58

1

Solved

I have the following method in my MapViewController: - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id<MKAnnotation>)annotation { MKAnnotationView *annotationView = [...
Bhang asked 21/2, 2012 at 4:41

1

Solved

I am trying to annotate my map with MKPointAnnotation, like this: - (void)viewDidLoad { NSLog(@"RootViewController viewDidLoad"); [super viewDidLoad]; CLLocationCoordinate2D coord = CLLocat...
Ali asked 24/11, 2011 at 13:32

3

Solved

Update #5 I guess it's bounty time. 100+ views and no one's taken a stab, even with the code sample I've posted. How about some reputation points! Update #4This is a pretty complicated question, s...
Eurus asked 17/6, 2011 at 23:58

2

Solved

When my view goes away I get the following message: An instance 0x1c11e0 of class MKAnnotationView was deallocated while key value observers were still registered with it. Observation info was lea...
Aeroplane asked 21/2, 2011 at 22:19

1

Solved

I like implement sth. like this. I have two annotations with callouts, but MKMapView allows only one to be selected at the same time. [mapView selectAnnotation:self.firstAnnotation animated:FALSE]...
Nicolenicolea asked 22/7, 2011 at 16:22

1

Solved

The standard callout, a black bubble, is nice, but can this be customized? For instance I would like to make a white bubble version.
Worcester asked 4/8, 2011 at 16:25

1

I am developing a custom pins in a MapView in my iPhone app. Here is the code: - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation { static N...
Redingote asked 20/5, 2011 at 22:55

2

Solved

I was wondering if anyone knows of any subclasses for the MKAnnotationView class. On apples documentation they say one example is the MKPinAnnotationView so I was wondering if there were other pre-...
Minos asked 22/10, 2010 at 5:44

1

Solved

.framework/MapKit, file was built for i386 which is not the architecture being linked (armv6) Undefined symbols: "_OBJC_CLASS_$_MKAnnotationView", referenced from: objc-class-ref-to-MKAnnotation...
Ansate asked 18/11, 2010 at 17:41

1

Solved

I have a data set of annotations that can update very quickly. At the moment I remove all annotations before replotting them back onto the map. NSArray *existingpoints = [mapView.annotations filte...
Cyaneous asked 6/11, 2010 at 12:36

2

Solved

I've implemented a custom annotation derived from MKAnnotation called ContainerAnnotation and a custom annotation view derived from MKAnnotationView with a drawRect: method called ContainerAnnotati...
Floatation asked 30/8, 2010 at 16:47

1

The Problem I'm trying to create a visual radius circle around a annonation, that remains at a fixed size in real terms. Eg. So If i set the radius to 100m, as you zoom out of the Map view the radi...
Lowbred asked 22/5, 2010 at 13:44

1

i'm trying to hide an AnnotationView without touching the pin, is the possible? Thanks! for (id currentAnnotation in self.mapView.annotations) { if ([currentAnnotation isKindOfClass:[MyAnnotation...
Clarettaclarette asked 27/5, 2010 at 2:40

1

Solved

I have a method like this: - (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control Using this, can i get the coordinates? ...
Tune asked 20/3, 2010 at 23:25

© 2022 - 2024 — McMap. All rights reserved.