mkpointannotation Questions

7

I want to add annotation on touch of iOS map and fetch the detailed address (Placemark) of respective location. How I can achieve this in Swift? Thanks in advance.
Arkansas asked 23/12, 2015 at 8:26

6

Solved

This is my code and i want to add a custom pin (.png file) instead of the red pin. I tried to use MKPinAnnotationView and MKAnnotationView but i couldn't add coordinates, subtitles and title. I'm n...
Millionaire asked 9/5, 2017 at 18:40

1

Solved

MKAnnotationView animation in iOS using Swift 4 Add animation to pins for adding pins to map smoothly. While adding pins to map, it is not smooth or it has no animation effect. Is there any simple...

3

I have at least 100 diferents Points ... how can associate each point with the position in my 'listOfPoints' assigning a tag in the position associated in viewForAnnotation . Here i add my Points,...
Popish asked 27/3, 2015 at 17:55

2

Solved

I'm learning Swift 3 on my own, and my current learning project involves allowing the user to snap a photo and get a map snapshot with the current location pinned. I've relied on this answer from ...
Performance asked 13/3, 2017 at 5:33

1

Solved

I am using MKPinAnnotationView inside my App. I am setting MapView object as delegate, and using this code for customising my AnnotationView func mapView(mapView: MKMapView, viewForAnnotation a...
Watchcase asked 22/6, 2016 at 10:9

2

Solved

I would like to know if anyone can tell me how I can touch a pin on the map in the form of MKPointAnnotations . I would like to click the pin on the map and go to another view by bringing back the...
Worsted asked 18/11, 2014 at 10:2

1

Solved

How should the array below be set. Im trying to add multiple annotations onto my map. I was able to find the code below on stackoverflow but they did not show how to set up the array. var objects ...
Muticous asked 16/4, 2016 at 16:52

1

Solved

I just updated XCode to 6.3 and now I am receiving the below error: MKPointAnnotation does not have a member named 'setCoordinate'. Not sure where it went, or if we are supposed to use some other ...
Rentschler asked 9/4, 2015 at 20:17

2

Solved

I managed to get a custom icon for a annotation pin in Swift, but now I am still stuck using 2 different images for different annotations. Right now a button adds a annotation to the map. There sho...

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
1

© 2022 - 2024 — McMap. All rights reserved.