When converting the string(place) into Coordinates. the coordinates that are in the placemark is pointing to the direction which is different from the string i provided as an argument.
let address = "16/1, Kanchan Bagh Main Road, South Tukoganj, Indore, Madhya Pradesh"
let geoCoder = CLGeocoder()
geoCoder.geocodeAddressString(address) { (placemarks, error) in
guard
let placemarks = placemarks,
let location = placemarks.first?.location.coordinates
else {
// handle no location found
return
}
// Use your location
}
Result lat:22.7438068 & long: 75.8512509 Expected Result lat: 22.7203646 & long: 75.88234569999997.
Because of this the marker on google map is point in the wrong direction.
Any help would be Appreciated. Thanks in Advance