mkmapview Questions
2
Solved
I'm trying to display the annotation title automatically instead of displaying it on tap. I used the below code to display annotation and make it center on map.
self.ann.setCoordinate(currentLocat...
Cordiform asked 28/1, 2015 at 17:0
3
I seem to have the opposite problem from many of those posted here about MKMapView. Rather than not being able to get it to zoom to and display the current location, I can't seem to get it to stop ...
4
Solved
I want to drop a pin on my MKMapView when the user single taps on the map. I have the pin code working, I have the single tap working, but when I double tap to zoom I get a single tap first. Here's...
2
I am able to get visible rectangle of map view and also centre point of map view and span deltas are also get from mkmaap view methods:
To get visible are :mapView.visibleMapRect is used . To get c...
2
Solved
I have the following code in Swift to add an MKPolyline to a MapView. XCode isn't telling me there's an issue, and as far as I've read, this should be working.
Outlet for the MapView:
@IBOutlet w...
Broadbent asked 26/3, 2015 at 11:55
3
Solved
I have a mapView with a strange behavior: When I open it, everything works fine. The user (blue with circles) is going to be located and the 3 pins are in position. But (I don't know why) after a s...
3
Solved
I'm trying to add MKAnnotationView to MKMapView but I can't do it… Can anyone help me?
Here is my code:
override func viewDidLoad() {
super.viewDidLoad()
locationManager.desiredAccuracy = kCLLo...
Objectionable asked 28/6, 2014 at 13:43
7
Solved
I would like to remove all annotations from my mapview without the blue dot of my position. When I call:
[mapView removeAnnotations:mapView.annotations];
all annotations are removed.
In which w...
Pruitt asked 25/1, 2010 at 12:26
1
I want to do animation like "when scroll collection view cell the annotation pin goes Up/Down at the end of scrolling. But how to do animation like annotation pin goes Up when start scrolling and a...
Meade asked 15/12, 2015 at 5:20
3
Solved
I would like to remove all the overlays of my map at one point, and I tried different ways but it never works.
Last try I did [self.mapView removeOverlays:self.mapView.overlays]; and it still does...
Ancalin asked 16/6, 2011 at 16:25
2
In swift I'm using MapKit.
I set up the outlet @IBOutlet weak var mapView: MKMapView!, used the MKMapViewDelegate, and then I'm adding some annotations.
I was wondering if there's a possibility ...
Proofread asked 18/10, 2016 at 23:5
2
https://developers.google.com/maps/documentation/ios-sdk/utility/marker-clustering
I am working for map clustering . In map clustering
private var mapView: GMSMapView!
is used for mapView but ...
Phonograph asked 20/3, 2017 at 2:16
7
Solved
I am able to place annotations on my MKMapView by using latitude and longitude, however, my feed coming in that I need to use location for is using street addresses instead of Lat and Long. e.g 123...
Tomtom asked 7/3, 2012 at 17:7
3
Solved
I want to display an image in my MKMapView instead of little rock pin.
Can someone please put some helpful code here, or tell the way how to do it?
-(MKAnnotationView *)mapView:(MKMapView *)mV vi...
Comrade asked 22/3, 2012 at 0:48
4
Solved
I am showing the current location in MKMapView by using showUserLocation enables. I also want to center the mapview to the user current location and also the zoomed map of location. Please help me ...
4
Solved
I am attempting to draw a nice MKPolyline on an MKPolylineView. Everything is going great so far - the polyline draws just as I want it to and when I want it to using the following code:
[[self ma...
Irrecusable asked 16/2, 2013 at 21:19
4
Solved
I have 2 annotations to display on the mapview, but unable to set the maprect to show all of them on screen without requiring users to zoom out.
I tried with showAnnotations but no luck. Anyone h...
Fowlkes asked 26/1, 2015 at 16:51
1
I am facing a weird problem with MKMapView. I have used a MKOverlayRenderer. Now the problem is when I am zooming out image showing correctly. But in case of zoom in, some portion of the image are ...
Shackle asked 9/2, 2017 at 13:39
2
Solved
I am trying to figure out a way to get all the latitude and longitude points from a MKPolyline drawn on a MKMapView on an iOS app.
I know the MKPolyline does not store latitude and longitude point...
Banzai asked 18/2, 2014 at 17:42
1
I am trying to make my mapview accessible, but I have an isuue in doing so:
If I try to make the mapView accessible,by doing this:
self.mapView.isAccessibilityElement=YES;
Then, the map view ...
Orthodontia asked 7/8, 2015 at 13:4
3
Solved
I'm facing with a strange behaviour of MKCircle appearance. Basically I'm trying to draw a circle with a radius of 8500 km with an arbitrary center. Here is my code:
private func addCircle() {
ma...
Lumpkin asked 5/3, 2015 at 7:22
2
In my app I have custom annotations where the leftCalloutAccessoryView is a circular UIView. This works perfectly in the simulator with this code:
let rideTimeView = UIView()
rideTimeView.frame ...
Truman asked 17/8, 2015 at 23:21
3
as all we know Apple, we always need to change something for each update. Did somebody solve the moving problem for map legal link?
I tried many ways to control legal label but, just it can be hid...
Lozar asked 23/1, 2014 at 11:57
6
Solved
The scrollEnabled seems to be breakable once the user starts pinching in a MKMapView.
You still can't scroll with one finger, but if you scroll with two fingers while zooming in and out, you can m...
Sortie asked 6/8, 2012 at 14:41
3
I have loaded the custom annotation image for user current location.I am updating the current user location after every 1 sec in background.
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] in...
Vermicular asked 13/3, 2012 at 13:48
© 2022 - 2024 — McMap. All rights reserved.