Been playing with these components for a few days now, really great work!
I've added a very simple method to the MapView to center on the user location for anyone who needs it...
procedure TDPFMapView.CenterMapOnUser; var ALocation: CLLocationCoordinate2D; begin ALocation := FMKMapView.userLocation.location.coordinate; FMKMapView.setCenterCoordinate(ALocation, True); end;
Hi Graham
Thank you for this tip
regards
Log in to post a comment.
Been playing with these components for a few days now, really great work!
I've added a very simple method to the MapView to center on the user location for anyone who needs it...
procedure TDPFMapView.CenterMapOnUser;
var
ALocation: CLLocationCoordinate2D;
begin
ALocation := FMKMapView.userLocation.location.coordinate;
FMKMapView.setCenterCoordinate(ALocation, True);
end;
Hi Graham
Thank you for this tip
regards