cllocationcoordinate2d Questions
2
Solved
I need to figure out how to set up MKMapSnapshotterOptions to take a snapshot of aerial/satellite imagery associated with a polygonal region of the earth.
Filling out the 'region', 'scale', 'size'...
Onfre asked 10/1, 2014 at 1:4
2
Solved
I am trying to create some "CLLocation"s from data that I've read from a file. The first step is to instantiate a "CLLocationCoordinate2D" to be fed into the initializer for CLL...
After asked 6/7, 2020 at 18:47
2
Solved
MapKit's built in function MKCoordinateRegionMakeWithDistance takes distances in meters and turns them into a MKCoordinateRegion:
func MKCoordinateRegionMakeWithDistance(
_ centerCoordinate: CLLo...
Parham asked 10/8, 2018 at 13:51
2
Solved
I have a custom polygon object so I can save map overlays to Realm. I'm able to create this objects successfully, but when I want to retrieve the var polygon object it returns nil. When I print the...
Clarita asked 30/5, 2016 at 5:3
4
Solved
I want to convert lat lon to CLLocationCoordinate2D.
self.currentLocation = {.latitude = 0.0, .longitude = 0.0};
This gives me error "Expected expression".
What am I doing wrong?
Lucubrate asked 22/7, 2011 at 12:37
2
Solved
I have the following code in Swift to add an MKPolyline to a MapView. XCode isn't telling me there's an issue, and as far as I've read, this should be working.
Outlet for the MapView:
@IBOutlet w...
Broadbent asked 26/3, 2015 at 11:55
4
I have a MKMapView that has a UISearchBar on the top, and I want the user to be able to type a address, and to find that address and drop a pin on it. What I don't know is how to turn the address s...
Mose asked 1/9, 2013 at 21:21
4
Solved
I have a latitude/longitude location that I want to convert to the location name String in Swift. What is the best way to do this? i believe it's best to use the reverseGeocodeLocation function but...
Volumed asked 6/10, 2014 at 23:56
2
Solved
So far, this is the code I have. I'm trying to store the values of locValue.latitude and locValue.longitude as either a string or an integer. I've tried defining the return type in the method ( -> ...
Frey asked 21/3, 2016 at 22:15
2
Solved
In objective C (I have no experience with it) you can initialize a CLLocation object with latitude and longitude likes this:
CLLocation *myLocation = [[CLLocation alloc] initWithLatitude:your_lati...
Filaria asked 28/4, 2015 at 22:48
1
Solved
using Firebase as my backend, I've got a series of strings that are latitude and longitude coordinates, how can I convert them to CLLocationCoordinate2D so that I can use them for annotations?
Her...
Rickety asked 9/2, 2015 at 19:15
1
Solved
I have a method I want to call however when I get back the center of the map, it is in CLLocationCoordinate2D type.
How do I put the results of CLLocationCoordinate2D into CLLocation?
Spectrogram asked 11/11, 2014 at 18:22
3
Solved
I am creating a map view in a view controller, using storyboard.
When I use the following code.
-(void) mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation
{
CLLoca...
Cobbie asked 20/11, 2013 at 6:10
1
Solved
I'm having the hardest time comparing two (what should be identical) CLLocationCoordinate2D structs in my iOS app. For some reason no matter how I compare them, the latitude just won't say it's equ...
Daggett asked 13/8, 2013 at 4:19
1
© 2022 - 2024 — McMap. All rights reserved.