From the course: Advanced iOS App Development: MapKit & Core Location
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Add 3D maps - iOS Tutorial
From the course: Advanced iOS App Development: MapKit & Core Location
Add 3D maps
- [Narrator] We've been using map types that are two dimensional. Cameras and regions take on new perspectives when we get three dimensional. Apple calls the three dimensional view a Flyover. There's two ways to get a Flyover mode. You've seen one of them already, the Type attribute in the Story Board. There's one more property of the Story Board that will help us with Flyover. Close the App again and go back to the Update Map Camera method and add this line to the camera. Camera.pitch and set it to 30.0. This rotates the angle of the camera. Zero is straight up and down. You can then rotate the angle from that point to any degrees you would like. With this 30 degree angle, run the App again. Maples in Beverly Hills have the same maps they did before but Chicago, Chatham, and New York maps are different. They've angled the streets in a perspective mode. The simulator does not give the full effect of maps on a device, especially in Flyover. You need to test an auditive device for…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.