Ver Mensaje Individual
  #5  
Antiguo 03-11-2017
jo3litro jo3litro is offline
Miembro
 
Registrado: dic 2013
Posts: 33
Reputación: 0
jo3litro Va por buen camino
Como !!?

El componente que utilizo para tomar las coordenasas es LocationSensor1.

En su evento ejecuta

Procedure TLocalizacionForm.LocationSensor1LocationChanged(Sender: TObject; Const OldLocation, NewLocation: TLocationCoord2D);
Begin
ENUSLat := NewLocation.Latitude.ToString(ffGeneral, 5, 2, TFormatSettings.Create('en-US'));
ENUSLong := NewLocation.Longitude.ToString(ffGeneral, 5, 2, TFormatSettings.Create('en-US'));
edLatitud.Text := ENUSLat;
edLongitud.Text := ENUSLong;

End;
Responder Con Cita