Post

Replies

Boosts

Views

Activity

Reply to Forward Geocoding: Using getCoordinates() function to create MKMapItem
Still looking for guidance on how to create MKMapItem that is suitable for use in MKLookAroundSceneRequest() function. When I print the MKMapItem from a working Lookaround view: <MKMapItem: 0x600003ecf800> { isCurrentLocation = 0; name = "503 Alger St"; placemark = "503 Alger St, 503 Alger St, Detroit, MI 48202, United States @ <+42.38204680,-83.07368270> +/- 0.00m, region CLCircularRegion (identifier:'<+42.38204680,-83.07368270> radius 70.59', center:<+42.38204680,-83.07368270>, radius:70.59m)"; timeZone = "America/Detroit (EST) offset -18000"; } The MKMapItem's I have created look like this but do not work for Lookaround view: isCurrentLocation = 0; name = "503 ALGER ST DETROIT MI 48202-2163 USA"; placemark = "503 ALGER ST DETROIT MI 48202-2163 USA @ <+42.38204680,-83.07368270> +/- 0.00m, region CLCircularRegion (identifier:'<+42.38204680,-83.07368270> radius 0.00', center:<+42.38204680,-83.07368270>, radius:0.00m)"; } <MKMapItem: 0x600003e24400> { isCurrentLocation = 0; name = "2501 SHERIDAN ST, DETROIT, MI, 48214-1793"; placemark = "2501 SHERIDAN ST, DETROIT, MI, 48214-1793 @ <+42.35993330,-83.00728570> +/- 0.00m, region CLCircularRegion (identifier:'<+42.35993330,-83.00728570> radius 0.00', center:<+42.35993330,-83.00728570>, radius:0.00m)"; timeZone = "EST (GMT-5) offset -18000"; } You can see I tried adding timeZone property to one, but that didn't work. I'm noticing that "radius:70.59m" vs "radius:0.00m" could be the factor I need to figure out to get this working. I wish there was a guide or additional documentation to help me understand how to use this framework! Thanks for any help :)
Jan ’24