mkmapview Questions

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

2

I have a MapView in my app. And user can add an annotaion/pin to that MapView. I works fine but I would like to know if it is possible to add new annotation design. This is the new pin: This is...
Hudak asked 21/10, 2016 at 15:8

5

Solved

Dera colleagues, I'm struggle to implement visible region with native MKMapView. I need to have an exactly the same feature as Google Map SDK Visible Region. Basically it means to have a sort ...
Montez asked 10/12, 2014 at 8:43

2

Solved

There seems to be an "issue" with overlays and the MapKit. Unlike annotations, overlays aren't reused and therefore when adding multiple overlays would cause memory-problems on a real device. I've ...
Shemeka asked 16/7, 2013 at 9:54

4

Solved

I have an MKMapView which populates the entirety of my view, but when a pin is selected, I am sliding up another view on top of the map. I want to move the map so the pin will appear in the centre ...
Counterpunch asked 15/3, 2011 at 0:59

6

Solved

Whenever the user zoom in or out the map i need to know how many meters are currently represented on the map (width or height). What i need is the inverse function of MKCoordinateRegionMakeWithDis...
Harrietteharrigan asked 11/3, 2011 at 8:14

4

Solved

I'm writing an App with a mapView showing some Annotations. Now I want to show the User's current location in the mapView. I get the current Location using this code: - (void)locationManager:(CLL...
Holmgren asked 14/10, 2013 at 10:12

8

I have an array, allCollections, that holds programmatically-created arrays of CLLocations the user has recorded through my iOS app. Each sub-array in allCollections holds all the location points i...
Ko asked 26/11, 2012 at 16:47

1

Since iOS 11, when I use setImage in my custom MKAnnotationView, the image is displayed with an animation. The problem is when I select and deselect the MKAnnotationView and the image has a differ...
Dennadennard asked 23/10, 2017 at 9:58

8

When displaying directions on the built-in Maps.app on the iPhone you can "select" one of the usually 3 route alternatives that are displayed by tapping on it. I wan't to replicate this functionali...
Midship asked 29/7, 2012 at 23:15

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

3

Solved

I'm working without InterfaceBuilder. I've an instance of MKAnnotationView with setDraggable on YES, In My MKMapView my annotation view is displayed and I can drag and drop it. How can I execute ...
Rickeyricki asked 22/10, 2010 at 16:12

4

Solved

How do I reset an MKMapView back to the world view zoom level?
Davidadavidde asked 20/1, 2011 at 15:59

4

Solved

I want to be able to zoom my MKMapView to fit it's annotations. I have managed to do it using iOS7's showAnnotations method. But I would also like to add some padding or inset from the map view bor...
Americanist asked 20/2, 2014 at 15:33

4

I just don't know how to calculate the area on the MKMapView. Anyone who has solved this problem yet? This is my code, but it returns way too much: func ringArea() -> Double{ var area: Double...
Aborticide asked 8/4, 2015 at 11:58

6

Solved

I have a MKMapView. I added a UITapGestureRecognizer with a single tap. I now want to add a MKAnnotationView to the map. I can tap the annotation and mapView:mapView didSelectAnnotationView:view f...
Papeete asked 19/6, 2013 at 20:41

6

is there a way to update (i.e. moving around) a MKOverlay that is already added to the MKMapView. Removing a old one and adding a new one is terrible (slow). i.e i would like to trigger the backgr...
Geoid asked 22/7, 2010 at 9:12

3

Solved

I want to create a custom MKAnnotationView callout as shown in this image. I have tested several solutions but they only allow customization of the left/right images and title/subtitle. Can anybody...
Ought asked 5/11, 2011 at 7:39

2

Solved

UIScrollView has an excellent contentInset property which tells the view, which portion is visible on the screen. I have an MKMapView which is partially covered by a translucent view. I want the ma...
Stanislaus asked 27/11, 2014 at 0:28

8

(Using iOS 5 and Xcode 4.2) I have an MKMapView and want to draw a circle of 1000m radius around the user location. On the surface it would seem that implementing the mapView:viewForAnnotation: m...
Monotype asked 29/1, 2012 at 20:28

3

Solved

My code worked fine from iOS 7 to 8. With the update yesterday the custom images on my pins were replaced by the standard pin image. Any suggestions? My code: extension ViewController: MKMapViewD...
Rosalbarosalee asked 17/9, 2015 at 14:52

1

I am facing a problem in my region because MapKit does not download the last set of tiles (most likely because it does not exist) but the problem is that instead of just show the previous tiles, it...
Marnie asked 12/7, 2015 at 22:33

1

Is there any way I can make vector tiles and overly them on MKMapView in iOS 6 and above? I know how to overlay images using MKOverlayView, but they are raster images.
Duax asked 29/1, 2014 at 12:41

3

Is there a way to take a screenshot of mapView and include the polyline? I believe I need to draw CGPoint's on the image that the MKSnapShotter returns, but I am unsure on how to do so. Current c...
Ciapha asked 18/7, 2016 at 22:18

5

Solved

So I have a MKMapView with all my pins added, and the colour of the pin is dependent on whether a value is set for that pin. When I first load the app, viewForAnnotation is called and the colours a...

© 2022 - 2024 — McMap. All rights reserved.