Dan Eden
Dan Eden

Reputation: 1632

Is there a way to change the satellite imagery time of day in MapKit?

I’m building a SwiftUI world clock app that displays the local time for locations around the world on MapKit’s 3D satellite view. One of the features of the app is “time travel”, allowing people to adjust the time of day in the app to see what time it will be in other time zones.

The 3D globe from MapKit kind of breaks the illusion of time travel since the sunlight doesn’t change. I was wondering whether anyone has figured out a way to change the time of day displayed in MapKit i.e. which parts of the earth are illuminated by the “sun” versus in darkness.

A screenshot of the app with “time travel” feature active. The time is set to 1pm London time, so London should be displayed in daylight.

Upvotes: -1

Views: 32

Answers (0)

Related Questions