mkmapview Questions
3
Solved
I am trying to change the map type using a segmented control button, I wish for it to change the type of the map with 3 options: Standard, Satellite and Hybrid. So far I have this code but nothing ...
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
2
Solved
I've noticed that if I use MKMapView's selectAnnotation:animated:, that it will scroll my map off screen if the MKAnnotation is not displayed in the current MKCoordinateRegion that my map is displa...
4
Solved
I'm doing an iOS application. In Xcode 9.1 I create a MKMapView by
let mapView = MKMapView(frame: CGRect(x: 0, y: 0, width: view.bounds.width, height: view.bounds.height))
mapView.isUserInteraction...
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 ...
27
Solved
I am using MKMapView and have added a number of annotation pins to the map about a 5-10 kilometre area. When I run the application my map starts zoomed out to show the whole world, what is the best...
Busterbustle asked 13/1, 2011 at 13:40
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
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...
5
I'm new to flutter.
I found Flutter doesn't support inline map, only a static map view.
I wanted to build an app which I need to show the driving directions on the map.
Is it possible to create ...
Siddur asked 14/7, 2018 at 11:23
19
Solved
Is there a way to determine if a MKMapView was dragged around?
I want to get the center location every time a user drags the map using CLLocationCoordinate2D centre = [locationMap centerCoordinate]...
3
I am porting my existing iOS 6 application to the new iOS 7. But whenever a MKMapView instance appears into the screen, my navigation bar loses its tint color.
Steps to reproduce:
Open Xcode;
Cr...
Chaunceychaunt asked 20/9, 2013 at 13:20
2
Solved
I have a map in a SwiftUI app. It is working up to a point; but now I want to be able to tap on it and know the latitude and longitude of the tap. Here is the current code:
import SwiftUI
import Ma...
Timberwork asked 27/7, 2020 at 7:33
5
I want to be able to pass a reference to a method on the UIViewRespresentable (or perhaps it’s Coordinator) to a parent View. The only way I can think to do this is by creating a field on the paren...
6
Solved
Is there a easy way to hide it? I use the user location, but I don't want to show the blue dot. How can I hide it?
-- edit--
Am I using something wrong?
@interface ALMapaViewController : UIViewC...
Genus asked 2/5, 2012 at 2:56
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
I am trying to customise the MKAnnotationView for my mapView callout bubbles. I am fine with setting the annotation title when the annotation is created, and also customising the MKAnnotationView t...
Ambitendency asked 21/1, 2015 at 18:50
4
Solved
I'm trying to draw some circle overlays containing text on MKMapView.
I have subclassed the MKCircleView, in which I put the following (based on this), but the text does not appear. The circles sho...
Sewing asked 19/10, 2011 at 17:10
11
Solved
I have a square MKMapView in my app, and I wish to set a center point and the exact height/width of the view in meters.
Creating an MKCoordinateRegion and setting the map to it (as in this code......
Lagoon asked 14/2, 2012 at 0:50
6
Solved
What i have
I have about 150 MKAnnotationViews on a map.
Every MKAnnotationView has an image that replaces the default pin.
What's happening now
When the map zooms in, the MKAnnotationViews are ...
Neary asked 27/11, 2011 at 15:42
5
I'm trying to trace a route on a MKMapView using overlays (MKOverlay).
However, depending on the current speed, I want to do something like the Nike app with a gradient while tracing the route, if ...
4
Solved
I have an MKMapView and am adding an overlay (MKOverlay) to it.
I would like the overlay to make the map view underneath to appear black & white (i.e. monochrome). Is there any way of doing t...
1
I try to create a snapshot of my map view to display later so I don't have another map view wasting memory.
Most of the time it works just fine, but recently I tried creating a snapshot of Paris ...
4
Solved
I'm trying to render an MKMapView into an UIImage, without showing it on the screen. I init the map:
let mapView = MKMapView(frame: CGRect(x: 0, y: 0, width: 1000, height: 1000))
mapView.delegate ...
Mcripley asked 6/4, 2017 at 3:48
5
I'm trying to migrate a app to iOS 11 and for days I'm stuck with one ugly UI bug after the other. This time: MKMapView. I have a bunch of buttons which I pinned to the Safe Area Layout Guides and ...
Polinski asked 23/11, 2017 at 9:39
7
Solved
Is there any way to get center coordinate of a set of CLLocationsCoordinate2D in iOS?
Portuguese asked 17/1, 2013 at 7:21
1 Next >
© 2022 - 2024 — McMap. All rights reserved.