Questions tagged [mkmapview]

MKMapView is part of Apple's MapKit framework for developing location-aware iOS applications, and provides an embeddable map interface. Effective iOS 6, the MapKit framework uses Apple's own map service. In iOS 5.1 and earlier, the framework uses the Google Mobile Maps service.

MKMapView is part of Apple's MapKit framework for developing iOS applications, and provides an embeddable map interface. Effective iOS 6, the MapKit framework uses Apple's own maps service. In iOS 5.1 and earlier, the MapKit framework used the Google Mobile Maps service, as described in the MKMapView Class Reference:

Important: In iOS 5.1 and earlier, the MapKit framework uses the Google Mobile Maps (GMM) service to provide map data. Use of specific classes of this framework (and their associated interfaces) is subject to the Google Mobile Maps terms of service. You can find these terms of service at https://web.archive.org/web/20120225140619/http://code.google.com/apis/maps/iphone/terms.html.

References:

4988 questions
2
votes
2 answers

How to remove or hide background in MKMapView when using custom tiles

Having tried many methods I still haven't found a good and full-proof way of preventing the usual "maps" from being shown behind custom map tiles that I am using. Ultimately I want my app to have a map page consisting only of a custom map. I am…
skeg0
  • 187
  • 1
  • 1
  • 10
2
votes
1 answer

startMonitoringForRegion vs CLRegion:containCoordinate

in my IOS app I am implementing geofencing. In the current implementation I am using code like this: CLRegion* region3 = [[CLRegion alloc] initCircularRegionWithCenter:coordinates radius:100 identifier:@"region3"]; [self.locationManager…
ghostrider
  • 5,131
  • 14
  • 72
  • 120
2
votes
1 answer

Create a polyline on iOs map with GPS coordinate

In my app I count the footsteps and now I want to know the speed and I want to store the GPS coordinates to draw a polyline in another ViewController. I thought that I can store this coordinate by using the following code: -…
lucgian84
  • 833
  • 4
  • 11
  • 29
2
votes
1 answer

Rotate image as per the direction of user follows in Map

I want to rotate the bike / car image in the direction of user follows. Right now the image follows the direction but looks non directive, we can say the point is not follows the direction : - (MKAnnotationView *)mapView:(MKMapView *)map…
Hiren Patel
  • 69
  • 2
  • 9
2
votes
0 answers

mapView:annotationView:calloutAccessoryControlTapped: not called after accessory view change?

I have a MKMapView with annotations to allow the user to select their desired location. To do this they touch the pin, this displays the name and address in the callout with a leftCalloutAccessoryView that they can touch to select that location. If…
LavaSlider
  • 2,494
  • 18
  • 29
2
votes
1 answer

mapViewDidFailLoadingMap delegate method gets called with error == 0

In my viewcontroller, I create a MKMapView object. I set the delegate to self, and in the ViewController, I implemented: - (void)mapViewDidFailLoadingMap:(MKMapView *)mapView withError:(NSError *)error This method gets called, but in the debugger,…
Alan
  • 2,140
  • 1
  • 24
  • 30
2
votes
1 answer

MapView Custom Pin Image Issue

I have changed my MapView pin image but I am getting this problem that some of the point wont change the pin image and some of them change. Where would be the problem? I have added an example. My Code: - (MKAnnotationView *)mapView:(MKMapView *)mV…
Luai Kalkatawi
  • 1,492
  • 5
  • 25
  • 51
2
votes
1 answer

How to Move MKCircleView at one position to another position in MKMapView?

I am Declare locations by using MkCircle Now I have to change Circle position one place to another place in MKMapView(Drag & Drop). how can i achieve this. Any help will be appreciated.
Chithri Ajay
  • 907
  • 3
  • 16
  • 37
2
votes
2 answers

How to get coordinate data of selected map pin?

I am trying get the coordinate of each pin I select on my map. I have an issue that every pin I select it give me the same value. In the subtitle I can see the value of each pin I select but when I equal it to Lat and Lon string value it gives me…
Luai Kalkatawi
  • 1,492
  • 5
  • 25
  • 51
2
votes
1 answer

MKMapView - Is there a way to use MKUserTrackingModeFollow with a modified center/focus?

I have a MapView that takes up the full screen and a few elements toward the top of the screen that overlay the map. These top elements potentially cover the blue location marker. The map is currently tracking fine with MKUserTrackingModeFollow,…
loeschg
  • 29,961
  • 26
  • 97
  • 150
2
votes
2 answers

When I set customized annotation view's frame, view disappears until pinch the map

I customized my MKAnnotationView, when I touch it, it enter following code - (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view { CellThumbnailView *thumbnailView = (CellThumbnailView *)view; [mapView…
levi
  • 171
  • 2
  • 2
  • 9
2
votes
0 answers

Drawing mulitple MKpolygons in a single

I'm using a MKMapView to display a map with a bunch of MKPolygons on it. It can at times end up drawing 1000+ MKPolygons and is starting to affect performance. Is there a way to draw the polygons on the map more efficiently? Can I draw them all in a…
Padin215
  • 7,444
  • 13
  • 65
  • 103
2
votes
0 answers

Override Double Tap to Zoom in MKMapView

Is it possible to replace this gesture in iOS 6 with a custom gesture? I have a gesture to show the map in full screen by hiding the status and navigation bars and it works but it also zooms every time it is done. Here is how I currently have my…
raginggoat
  • 3,570
  • 10
  • 48
  • 108
2
votes
1 answer

stopUpdatingLocation cannot stoping the location update in iOS?

I have been using the location class as a delegate class and using my AppDelegate to update the location. I need the location on two cases: first at the time when he first signed into my application and then the next case is when he come from…
hacker
  • 8,919
  • 12
  • 62
  • 108
2
votes
1 answer

MKAnnotionView does not show callout

I have made this implemention of MKAnnotionView: - (MKAnnotationView*) mapView:(MKMapView *)mapView viewForAnnotation:(id)annotation { if([annotation isKindOfClass:[MKUserLocation class]]) return nil; NSString…
Rasmus Styrk
  • 1,296
  • 2
  • 20
  • 36
1 2 3
99
100