Is there a way to set the mapView.userLocation.location.coordinate
by code?
I know there is CLLocationCoordinate2D
for set coordinates but then it isn't the userLocationCoordinate.
I have tried to assign a number to mapView.userLocation.coordinate.latitude
, but then I get "this expression is not assignable"
mapView.userLocation.coordinate.latitude = 0;
So is there a way to set UserLocation (except from setting a default location in the simulator)?