mkannotation Questions
2
Solved
I have a custom annotation for my mapView. I initially set the coordinate, title (eg. "first title"), subTitle (eg. "first address"), userId, and a distance (eg. 0 meters) property on it with some ...
Newman asked 18/5, 2019 at 23:13
8
Solved
I'm displaying an MKMapView inside a Path-style parallax table view header. To create the effect, the mapView bounds is larger than the area visible to the user. I need to set the map view region s...
Amphiprostyle asked 16/2, 2013 at 23:0
6
Solved
Is there a easy way to hide it? I use the user location, but I don't want to show the blue dot. How can I hide it?
-- edit--
Am I using something wrong?
@interface ALMapaViewController : UIViewC...
Genus asked 2/5, 2012 at 2:56
2
I am trying to customise the MKAnnotationView for my mapView callout bubbles. I am fine with setting the annotation title when the annotation is created, and also customising the MKAnnotationView t...
Ambitendency asked 21/1, 2015 at 18:50
0
On iOS 15 (actually since iOS 14), on a MKMapView when tapping on the default User Location a callout is shown displaying kind of an 'empty' profile picture.
You can see on the screenshot below the...
Alloy asked 11/1, 2022 at 10:58
2
I was curious about what is the best practice when you need to have a bunch of custom annotations on Map in SwiftUI. This is my first real IOS project, so I'm a little rough around the edges.
Curre...
Groping asked 6/6, 2021 at 23:41
2
Solved
I have the following code, which aims to loop through all the annotations on the current apple map view and update their location coordinates.
for existingMarker in self.mapView.annotations {
ex...
Sanfred asked 28/5, 2017 at 23:6
2
Solved
I put the personal image instead of the traditional red pin. When I open the map to display the pin, the image cover the entire map. Is there a maximum size of the pin image or how do I integrate s...
Stoa asked 21/10, 2015 at 15:1
7
Solved
Im working with MKMapView and MKAnnotationView.
I have an annotation in the map. When the users tap on it, the callOut Bubble is displayed. When the annotation is tapped again ( and the callOut Bu...
Frady asked 3/8, 2010 at 10:48
4
Solved
do you know that MKPinAnnotationView has a method "animatesDrop" to animate a pin annotation from the top to point on the map with a shadow? OK, is it possible do this with a custom image??
Flaggy asked 26/1, 2010 at 12:7
2
I would like keep the MKAnnotaion on the centre of the screen when the user scoll the map like Careem app:
So far I managed to show the pin, update the pin position but when I scroll the map, ...
Bayou asked 21/4, 2015 at 12:3
7
Solved
I'm writing an application for iOS 7.0+ and I wanted to use new feature witch is: imageWithRenderingMode. I have a map annotation with this code:
-(MKAnnotationView*)annotationView {
MKAnnotation...
Anderlecht asked 27/3, 2014 at 17:19
4
Solved
I have a conditional statement to add map annotation icons/pins in the method below. The problem I'm having is that the map is being populated with all the same icon. It should detect the cat id an...
Roentgenotherapy asked 22/10, 2013 at 9:52
7
Solved
I have two UITextFields which users can enter in a latitude and longitude, these co-ordinates are then used to create a pin on an MKMapView.
I want find a way to validate whether the values they e...
Rodenticide asked 15/10, 2011 at 22:8
2
Solved
Right now I am populating a map view with annotations, and also displaying the user's current location. With the viewForAnnotation method, it overrides all annotations with the default red pin, but...
Hodometer asked 1/8, 2012 at 20:40
3
I have a map in a view that is centered on Chicago. I want the user to be able to place a pin/annotation on the map and then retrieve those coordinates. The map loads Chicago fine but I can't get t...
Dodona asked 4/12, 2019 at 18:26
7
I have a mapview where the annotation's coordinates are constantly being updated but when I use setCoordinate, the annotation does not move. How do I refresh the annotations to reflect their coordi...
Bosk asked 3/1, 2013 at 0:21
8
Solved
I use removeAnnotations to remove my annotations from mapView but same it remove user location ann. How can I prevent this, or how to get user ann back to view?
NSArray *annotationsOnMap = mapView...
Safier asked 2/6, 2012 at 19:3
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
3
Is it possible to open simultaneously more then one callout?
The code:
- (void)mapViewDidFinishLoadingMap:(MKMapView *)theMapView {
for (id<MKAnnotation> currentAnnotation in theMapView.an...
Echinoderm asked 10/3, 2010 at 15:10
3
I need some code which can be used outside of the mk* functions. I need to run my custom function to bring the FIRST and LAST markers in an array to the front. (so on top of all the other markers o...
Alluvium asked 14/9, 2010 at 21:56
1
Solved
before duplicating my questing please read the whole thing.
i am using MkMapKit in my app and now I have to show people in cluster when zoom out the map, I have achieved numbering them out so far u...
Mcinnis asked 26/5, 2019 at 8:19
2
Im having some issues styling my MKAnnotation callout bubble. Originally I had a standard callout that consisted of just a title, subtitle and leftCalloutAccessoryView. This created the following c...
Stiletto asked 10/11, 2015 at 4:34
8
Solved
I am looking at Apple's MapCallouts example for map annotations and callouts (==bubbles that appear when you click on a pin).
Every annotation there has coordinates, title and subtitle.
I would lik...
Flagrant asked 29/4, 2011 at 11:25
2
Solved
I have two classes that both conform to MKAnnotation, and I was wondering, is there a way to force MapKit to not cluster the annotation when a user zooms out and display all annotations?
Preheat asked 27/1, 2018 at 6:26
1 Next >
© 2022 - 2024 — McMap. All rights reserved.