Questions tagged [mkpointannotation]

MKPointAnnotation is a specific part of Apple's general MapKit system.

Apple's MapKit system in iOS generally allows developers to show real-world maps, GPS directions, and so on inside a UIView.

MKPointAnnotations are the small "speech bubble-like" annotations, which you can add to a MKMapItem, shown on a MapKit map.

99 questions
0
votes
3 answers

How to get directions to a MKPointAnnotation

I have created a map that has an MKPointAnnotation which is the single point on the map (besides the users location). I am trying to work out how to amend some existing code I have to get the Driving directions to this point. This is the code that…
StuartM
  • 6,743
  • 18
  • 84
  • 160
0
votes
1 answer

show another view when clicked on pin annotation

I have many garages and need to show multiple garages in map. Below is the code I am using for Map to show multiple pins. CLLocationCoordinate2D annotationCoord; for (NSMutableDictionary* aDict in Gfeeds) { annotationCoord.latitude =…
Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276
0
votes
1 answer

Random MKPointAnnotation in map

In my project I fill my map with these informations for (int i = 0; i
cyclingIsBetter
  • 17,447
  • 50
  • 156
  • 241
0
votes
1 answer

Want to check whether an array contains all or just certain objects - iOS

Not sure where I'm going wrong. I have an array that contains up to 3 objects. I want to check if any of the arrays objects go on past 0, & if so, format them as an NSString. If not, I want to include the object at index 0. A point in the right…
Andre C.
  • 17
  • 4
0
votes
1 answer

MKMapView annotations - change pin with dot

I have a tracing tool, which checks whether the car reaches some predefined locations. Currently, when the car reaches location, I use MKPointAnnotation and add a pin at that location. However, I don't want pin. I want a dot. Is there a way to…
user2734323
  • 706
  • 1
  • 8
  • 19
0
votes
3 answers

How to add multiple pins/annotation online?

I am trying to add pins from the server and show it one the map. Normally I can show the pin but I want to add it online. I have three parsed json data NAME, Longitude and Latitude. I have parsed it in array. I couldn't know how to view it on the…
Luai Kalkatawi
  • 1,492
  • 5
  • 25
  • 51
-1
votes
1 answer

How to add Tap gesture on MKPointAnnotation to show another view with data?

I have a an array of latitude and longitude and using for loop am displaying the MKPointAnnotation on the map. I want to show a view as a popup with data when the specific MKPointAnnotation is tapped. Here is my code - - (void)mapView:(MKMapView…
TheTravloper
  • 236
  • 5
  • 16
-1
votes
1 answer

Add button to MKPointAnnotation

Having a problem when i try to add a button in a annotation. Before i've asked this question i've searched for answers on the following pages: How to add a button to the MKPointAnnotation? , Adding a button to MKPointAnnotation? etc. But all…
Mick
  • 23
  • 3
-1
votes
2 answers

Getting object from pin selection

I'm using an array of Locations (stored online) which have a LocationID, lat, long, name, PinNumber and UserId. Steps : I load the complete locations array of the selected user I create pins with that array ( a simple for loop that uses the name,…
Gil Sand
  • 5,802
  • 5
  • 36
  • 78
1 2 3 4 5 6
7