mapkit Questions

4

I have an MKMapView in a window, and pitchEnabled is true (and I've confirmed this in the debugger). The "3D" thingy in the middle of the compass is grayed out, and clicking or dragging it does not...
Appledorf asked 23/8, 2016 at 23:32

4

Is there any public iOS 8 API available to implement 3D flyover or at least 3D view as shown on Apple Maps App screenshot below? Update After below suggestions I've done following code: impor...
Competition asked 26/11, 2014 at 8:36

4

Help needed now. I can draw lines with MKPolyline and MKPolylineView, but how to draw an arc or curve lines between two coordinates on the MKMapView? Great thanks.
Rappel asked 15/4, 2011 at 6:53

8

Solved

I'm trying to write a category for CLLocation to return the bearing to another CLLocation. I believe I'm doing something wrong with the formula (calculous is not my strong suit). The returned bear...
Coaler asked 13/10, 2010 at 16:38

2

How can I get the location coordinates in mkmapview according to user touching a location on the map on their iphone?
Centrifuge asked 23/6, 2011 at 6:3

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

5

I need your help, I'm working on an App where I have some pins (locations) and what I want is to get the distance between each one and my location. My code is the following let annotation = MKPoin...
Atom asked 23/5, 2017 at 16:0

1

Solved

I created seven different polylines. However some of them are disappearing when I zoom in closely. Why it is happening? How can I prevent this? Here is my polyline renderer: func mapView(_ mapVi...
Dachau asked 11/2, 2019 at 13:33

0

I am playing around with IMDF from the new Apple Indoor Maps Program. However I am experimenting with 3D effect of the building (walls etc.). With official maps app we can achieve this effect easil...
Dogmatics asked 25/2, 2020 at 17:5

3

Solved

The map view shows the user's location with a default blue bubble animation. How can I change that default blue color to another color?
Dissonance asked 8/8, 2015 at 1:12

1

I'm trying to build a autocomplete textfield which needs to display the city/town name only. So what I want to do is that when someone enters Am it will show Amsterdam Amstelveen So it wil...
Concierge asked 19/4, 2017 at 10:23

3

Solved

I have a grouped pin that I want to zoom in on. Of course I know the coords of the pin, and have it's view rect. I just want to zoom the map to just the right region so that the cluster fully expan...
Cotopaxi asked 16/3, 2013 at 19:13

2

Solved

I am having trouble trying to figure out how to display a transparent circle or rectangle at a desired location unique from the users location. Im a beginner with mapkit so thanks in advance. clas...
Hurdle asked 28/6, 2016 at 4:1

3

Solved

If I have a MKMapView and a CLLocationCoordinate2D how do you test whether the map's visible area contains the coordinate?
Preoccupancy asked 26/4, 2013 at 14:57

10

Solved

I have Latitude and Longitude of two points and Want to Draw line between these two points with Pin on MapKit. I have googled but Could not find some suitable solution because the one I found was...
Concomitant asked 15/5, 2012 at 9:58

4

Our Flutter App shows a number of locations using Google Maps, if available, or else using the local browser. Although we had already previously uploaded a binary code for iOS which was accepted b...
Confab asked 27/3, 2019 at 19:23

0

In the iOS simulator, when running my mapKit view, the debugger goes crazy with a long string of updates and the map never loads, but the GPS does. This appears to have started after installing c...
Swahili asked 10/11, 2019 at 23:54

10

Solved

I want to draw a route between two locations on the map. Something like a tour guide. When the tourist clicks another location, I want to be able to draw a route; as well as, inform about the dista...
Housemaid asked 14/5, 2010 at 13:37

3

Solved

How to get the zip code of the current location using mapkit, i didn't find any API's for getting this in document. i used coordinate,attitue,horizontal,vertical,course and speed parameters of CLLo...
Debate asked 30/4, 2011 at 10:30

0

I am trying to render an overlay (polygon) on the map using swift MapKit. I can render successfully but when I zoom out too much then zoom in again, all the rendered polygons get disappear. How can...
Pinnate asked 10/10, 2019 at 9:21

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

8

Solved

I am trying to simply show user's location on the map, but I need to when app launches, the map should zoom to current location ,but I don't know why map doesn't zoom at all and it's like this : ...
Iodize asked 16/12, 2016 at 17:3

8

Solved

How do I detect a single tap on an instance of MKMapView? Do I have to subclass MKMapView and then override the touchesEnded method? Thanks, -Chris
Heirdom asked 14/8, 2009 at 2:22

1

This must be a very basic question to the pros out there. I have done quiet a bit of googling and cant find the answer I wanted. Is it possible to use MapKit in SceneKit to render animated charact...
Recrudescence asked 8/7, 2016 at 13:45

5

Solved

I have an array of latitudes and another array of longitudes that I add to an array of type CLLocationCoordinate2D. I then use the new array to annotate multiple points on the map. Some, or most, o...
Carmen asked 28/2, 2018 at 0:13

© 2022 - 2024 — McMap. All rights reserved.