mkpinannotationview

member variable setting back

Hello i have a problem, i have a app with two views (one mapView with pins) and one View with textfields with datas of the pushed pin. If i click on a pin it works very good, but if i go back and click another pin, there are allways the datas of the first pin i clicked? - (void) mapView:(MKMapView *)mapView annotationView:(MKAnnotation...

show pins around 100kilometers

Hello People, i am implementing an app, that show customers and my userLocation on a map. But now i have a problem, because there are a lot of costumers and the map is very uncomfortable. How can i only see pins on a map or in a list, that are around 100 kilometers away from me? I hope someone could help me? Greetings Marco ...

How to remove the first pin while dropping consecutive pins in maps in iphone?

Hi, I am new to iphone development.I have created map applications and displayed the cuurent location and drop a pin to the current location.On clicking the button "Find Me", it drops a pin in my current location.Once again if i click the "Find Me" button it drops a pin but i am able to see the previously dropped pin in my current locat...

Custon MKPinAnnotationColor

Hi, I have searched a bit on google, but didn't really found an answer to my question. I want to create a pin with a different color, e.g. yellow or orange. How should I do this? It seems that it's not possible to create one sending a UIColor to it. Should I design them myself and somehow change the pin to an own image? Best regards, ...

Refresh my mapView

Hello community, i have a mapView with pins on it, and the following code for CLLocation and getDistance between me and another points on the map: - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation{ Koordinate *kunde = [[Koordina...

Custom MKPinAnnotation callout bubble similar to default callout bubble

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 I want a custom custom view which look like "Parked Location" annotaion in the following image. with custom width, height etc. P I am not able t...

MKPinAnnotationView in iphone Applications?

Hi, I developed an application related with google maps in iphone, here i want callout without tapping pin,means when pin shows in the map itself it will show the callout.I tried with MKPinAnnotationView..but it is not showing.. could any one suggest me how to show call out without tapping the pin in MKMapView; Thanks & Regards ...

How can we change the color of the callout that comes when we press a pin in MKMapView?

The callout that is being displayed when we press an MKAnnotationPin can be customised to have image, title and also subtitle. Is it possible to change the blackcolor of the callout to some other color, say brown? ...

MKAnnotationView update title and subtitle with distance when event is received

Hello, I'm developing an iphone app using mapkit and CLLocationManager. I put lots of MKPinAnnotationView on map (about 100) and I want to update all callout's subtitle whith user distance when I receive it. How to do it ? Thanks, David ...

MKPinAnnotationView subclass display anormaly - Strange problem of overlapping

Hi, I try to inherit from MKPinAnnotationView to display additional information on the callout, but unfortunately when I use this class, pins seems overlapping each over whereas it display in the good order when I use original MKPinAnnotationView. You can see how it display below after. with my custom subclass of MKPinAnnotationView ...

dropping multiple pins on the map

Okay Here's what Iam trying to do. I would like to display multiple for the coordinates that are stored as latitudes and longitudes in an array called latlongStrings. They are then broken into array chunks and assigned to newRegions latitude and longitude's. This is the below code. - (void)gotoLocation { MKCoordinateRegi...

how can I do make MKMapView's pin moving on Photo Album Places view of ios4

In iOS4's photo album place, the photo-pins join and split each others when the map is zoomed out and in. It's awesome experience! and I want to use same thing on my apps. I guess, it should not be one of MapKit. does anybody know that how can i do this? ...