You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Xamarin.Forms, you could get the address as a string from the latitude and longitude using the reverse geocoding API, but
.NET MAUI can no longer do that. Instead, the information that makes up the address is decomposed and stored in the
Placemark object. Even if you reconstruct the address based on the information in this Placemark object, you will not get the
same address as in Xamarin.Forms. The information stored in the Placemark object is missing the information that makes up
the address.
I live in Japan, and at least in Japan, the Placemark object doesn't store the correct information that makes up the address.
I would like you to provide the following method to get the address provided in Xamarin.Forms as a string.
public static async Task<IEnumerable> GetAddressesForPositionAsync(Position position)
or public static async Task<IEnumerable> GetAddressesForLocationAsync(Location location)
It is possible to port the Xamarin.Forms source code to .NET MAUI, but I would like .NET MAUI to provide it as standard.
For example, if the Android emulator's GPS location information is set as follows:
Although the address is 1 Chome-4 Yaesu, Chuo City, Tokyo 103-0028, Japan the result
obtained by calling the GetPlacemarksAsync method is as follows.
The address stored in the Placemark object is 1 Chome-4, Chuo City, Tokyo 103-0028,
Japan not 1 Chome-4 Yaesu, Chuo City, Tokyo 103-0028, Japan.
The correct address cannot be obtained from the information stored in the Placemark object.
I want to get the address as a string, not as a Placemark object.
I am sorry to bother you when you are busy, but I would appreciate your consideration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In Xamarin.Forms, you could get the address as a string from the latitude and longitude using the reverse geocoding API, but
.NET MAUI can no longer do that. Instead, the information that makes up the address is decomposed and stored in the
Placemark object. Even if you reconstruct the address based on the information in this Placemark object, you will not get the
same address as in Xamarin.Forms. The information stored in the Placemark object is missing the information that makes up
the address.
I live in Japan, and at least in Japan, the Placemark object doesn't store the correct information that makes up the address.
I would like you to provide the following method to get the address provided in Xamarin.Forms as a string.
public static async Task<IEnumerable> GetAddressesForPositionAsync(Position position)
or
public static async Task<IEnumerable> GetAddressesForLocationAsync(Location location)
It is possible to port the Xamarin.Forms source code to .NET MAUI, but I would like .NET MAUI to provide it as standard.
For example, if the Android emulator's GPS location information is set as follows:

Although the address is 1 Chome-4 Yaesu, Chuo City, Tokyo 103-0028, Japan the result

obtained by calling the GetPlacemarksAsync method is as follows.
The address stored in the Placemark object is 1 Chome-4, Chuo City, Tokyo 103-0028,
Japan not 1 Chome-4 Yaesu, Chuo City, Tokyo 103-0028, Japan.
The correct address cannot be obtained from the information stored in the Placemark object.
I want to get the address as a string, not as a Placemark object.
I am sorry to bother you when you are busy, but I would appreciate your consideration.
Beta Was this translation helpful? Give feedback.
All reactions