fuselibs icon indicating copy to clipboard operation
fuselibs copied to clipboard

Opening Apple Maps with searchNear doesn't show correct location

Open Digi59404 opened this issue 6 years ago • 1 comments

Using the URL Schema to open Apple Maps causes Apple Maps to search for a location with a name. This leads to unreliable and incorrect directions/map coordinates.

For example if I look for a restaurant in Dallas Texas via Lat/Long and Name. It's name contains "Colorado". Apple maps will open the map to Colorado and a place with a similar name - while disregarding the lat/long.

Instead of using the URI Schema to launch Apple Maps. We should use the actual Apple Maps SDK to loan locations.

https://github.com/fusetools/fuselibs-public/blob/e54b1a61c2f566d2897322b73750e923c0e9945b/Source/Fuse.Launcher.Maps/Maps/MapsLauncher.uno#L55

Digi59404 avatar May 05 '18 02:05 Digi59404

Example here: https://stackoverflow.com/questions/28604429/how-to-open-maps-app-programmatically-with-coordinates-in-swift

Digi59404 avatar May 05 '18 02:05 Digi59404