mkcoordinateregion 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

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

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

10

Solved

I need to check if user location belongs to the MKCoordinateRegion. I was surprised not to find simple function for this, something like: CGRectContainsCGPoint(rect, point). I found following piec...
Newborn asked 11/5, 2012 at 14:13

3

Solved

When I need to make an MKCoordinateRegion, I do the following: var region = MKCoordinateRegion .FromDistance(coordinate, RegionSizeInMeters, RegionSizeInMeters); very simple - works perfectly. ...

1

Solved

Is it possible to save an MKCoordinateRegion Value in @App Storage? I tried this. But it doesn't work. I got the error 'No exact matches in call to initializer' . @AppStorage("region_key&quot...
Diarmit asked 22/4, 2021 at 13:20

9

I'm saving map region into user defaults when my iPhone app is closing like this: MKCoordinateRegion region = mapView.region; [[NSUserDefaults standardUserDefaults] setDouble:region.center.latitud...
Inexpensive asked 5/9, 2009 at 13:9

3

Solved

I have a coordinate region that I have determined contains the limits of what I want to show for my app. I have set this up as an MKCoordinateRegion with center point lat, longitude and a span. How...
Heliostat asked 1/2, 2012 at 4:39

2

Solved

I'm trying to create a region similar to a circle radius using CLLocation. I understand radius logic and how its measured in meters, but not so clear on a MKCoordinate region and how long delta and...
Rawboned asked 17/12, 2016 at 21:42

3

I checked the properties in documentation for MKCoordinateRegion, MKCoordinateSpan and MKMapView to see there is a way to get the TopLeft and BottomRight Lat Long from the map view and I didn't fin...
Evacuee asked 17/3, 2010 at 18:13

1

Solved

I have some annotations presented on a map (somepoints) the map zooms in or out to fit all points - see working code below. MKPolygon *poly = [MKPolygon polygonWithPoints:somepoints count:i]; [sel...
Maloney asked 11/3, 2014 at 20:24

1

Solved

If the distance corresponding to one degree of longitude is a function of latitude, why do you have to specify longitudeDelta and latitudeDelta when calling MKCoordinateSpanMake in the iOS MapKit? ...
Slapjack asked 2/10, 2011 at 21:55
1

© 2022 - 2025 — McMap. All rights reserved.