mapkit Questions

4

I'm trying to do the union between two MKCoordinateRegion. Does anybody have an idea on how to do this?
Ionosphere asked 21/7, 2011 at 12:5

4

Solved

How can I change the map to dark mode from iOS 13? I have opt-out from UserInterfaceStyle so system-wide colors will not apply to me, so I'll do it manually. I've seen this video from apple WWDC201...
Ecclesiastic asked 25/10, 2019 at 19:59

5

Solved

I want to move the MKMapView compass. I wanted to get a reference for it by something like this: let compassView = mapView.subviews.filter {$0 is NSClassFromString("MKCompassView")} However the ...
Primrose asked 19/1, 2018 at 14:33

8

Solved

Hy guys, I'm making an app in swift 3.0 but I ran across a problem pretty soon. I set up necessary functions to ask for permission to use a location but every time I run the app I get the same erro...
Secern asked 31/10, 2016 at 15:19

3

Solved

I have a form where the user enters their address. While they can always enter it manually, I also wanted to provide them with an easy solution with auto complete so that they could just start typi...
Kanya asked 3/1, 2022 at 21:25

3

I need to implement method which allows to receive list of cities (not full) by its first character. I thought I can use address autocompletion for this. For example I can do it in Google APIs: ht...
Tem asked 25/7, 2016 at 13:10

3

Solved

I'd like to use a custom marker image instead of the pulsing blue dot - is there a way to customize this in react native maps using apple maps for ios and google maps for Android?
Bertrand asked 7/5, 2018 at 15:58

4

Solved

I am looking for a way to implement a custom map style in iOS 7, just like you can do with Google Maps. I have found some posts saying that this is not possible with MapKit, but they are all posted...
Eadmund asked 28/11, 2013 at 20:2

3

Using Swift5.7, XCode14.0, iOS16.0, I get very strange error messages and warnings in my XCode console, when trying to make a MapKit example to work. Here is the log: 2022-11-01 17:26:51.756834+010...
Incapacious asked 1/11, 2022 at 16:32

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

4

I'm writing an Application that makes use of MapKit. I have implemented MKLocalSearch and I get back an array of MKMapItem's. However I was wondering if it was possible to get the category of each ...
Hacking asked 15/12, 2014 at 5:41

2

I'm trying to add a MapAnnotation item to my Map() View from MapKit. Everything works fine if you add coordinates manually in a TextField, but I can't find any way to add it by tapping on the map. ...
Tsang asked 30/4, 2021 at 14:26

2

I am building an app in which I have to highlight some countries dynamically in the world map. In short I want to customize the whole view of ios maps as shown in the images. can this be done u...
Inadequate asked 24/5, 2013 at 10:14

2

I want to use my own map annotations and I am trying to hide default annotations from Map. I found this to remove every default annotation from the map view let configuration = MKStandardMapConfigu...
Bautram asked 11/11, 2022 at 19:21

3

I have a SwiftUI Map with MapAnnotations. I would like to have an onTap gesture on the Map, so it deselects the selected annotations, and dissmisses a bottom sheet, etc. Also would like to have an ...
Dockage asked 4/12, 2022 at 13:17

5

Solved

I had working code to remove all map annotations with a button, but after my update to xcode 7 I am running into the error: Type 'MKAnnotation' does not conform to protocol 'SequenceType' if let...
Tactual asked 29/9, 2015 at 17:21

2

I am currently trying to show Routes in my app, but I get [UserSession] maps short session requested but session sharing is not enabled in the console. I separated the MapView and calculation of th...
Simla asked 30/1, 2022 at 20:4

5

Solved

There's almost a 0.5 second delay between tapping and when the callout is shown for an annotation on an MKMapView. Does anyone know why this is the case, and how I can make it instantaneously res...
Thrown asked 25/2, 2016 at 22:10

2

I'm trying to subclass MKPolyline and MKGeodesicPolyline to store their own individual colours (by having the subclass instances return their own MKPolylineRenderer). It works fine for MKPolyline, ...
Ridgway asked 1/9, 2017 at 9:40

4

Solved

I want my program to display the users location on the map. It was working at first then randomly stopped so i added the code below to try to fix it but I'm having problems. Thanks in advance! o...
Frenzy asked 2/8, 2016 at 17:24

3

Solved

I am trying to use the new Mapkit SwiftUI view and I am able to show a map with a certain region but I can't figure how to show a Map Marker. This is what I have: import SwiftUI import MapKit stru...
Stoddard asked 20/7, 2020 at 5:13

2

I am trying to prevent MKMapKit from presenting the default annotation callout when tapping on a marker displayed on a MKMapView without blocking the delegate call / interaction of the annotation (...
Smaltite asked 3/5, 2017 at 17:10

2

Solved

I'd like to implement a basic Map view that will center on the users location when they tap a button, similar to the Apple Maps app. I tried the following, but whenever I tap the button, [SwiftUI] ...
Pointtopoint asked 21/4, 2022 at 11:40

9

Solved

I am using a MapView in my app to show some annotations. In iOS 7 a compass appears randomly on the map. I can't reproduce the error because it appears randomly but I want to disable it. Any ideas ...
Advanced asked 5/10, 2013 at 9:2

2

I'm having an issue where I get the warning [VKDefault] Triangulator failed to fully triangulate polygon MapKit when zooming in and out of specific regions on my map. I'm creating the polygons from...
Easterner asked 20/9, 2021 at 2:28

© 2022 - 2024 — McMap. All rights reserved.