Hi,
the following code works fine with iOS, but somehow the variable "adressString" which is public doesn't get the FormattedAdress.
procedure TfrmContentMap.LocationSensor1LocationChanged(Sender: TObject;
const OldLocation, NewLocation: TLocationCoord2D);
var
latitudePosition, longitudePosition: Double;
begin
latitudePosition := NewLocation.Latitude;
longitudePosition := NewLocation.Longitude;
//reverse geocoding
TMSFMXWebGMapsReverseGeocoding1.Latitude := latitudePosition;
TMSFMXWebGMapsReverseGeocoding1.Longitude := longitudePosition;
TMSFMXWebGMapsReverseGeocoding1.LaunchReverseGeocoding;
AdressString := TMSFMXWebGMapsReverseGeocoding1.ResultAddress.FormattedAddress;
end;
I ask myself why it doesn't work with android. Any suggstions?
Kind regards