-
Map – episode IV: Search Around
In this episode, we’ll learn how to conduct a search on the map. Our objective is to achieve something like this: Therefore, by typing in a text field what we want to search for, the points of interest found will be displayed on the map. In the example, I typed Shop, but you can type…
-
Map – episode III: Look Around
In this episode, we’ll learn how to use the LookAround feature in our applications. To summarize, we will cover: Starting from the end, we aim for this: And by tapping on Look Around: Now you can navigate in 3D. Select a Marker Let’s begin by setting the position (the initial center of the map) in…
-
Map – episode II°
In this post, we’ll learn how to: Add Markers Let’s see how to add a marker to both Berkeley and Stanford Universities. First, we’ll create a structure for our locations: The struct implements the Identifiable protocol because we need to define an ID for each element. This is especially crucial as we want to use…
-
Map – I
This post is the first in a series about using Maps in SwiftUI. In this post, we’ll learn how to: Map Creation First, we need to add values in the info.plist for: Now, let’s take a look at the code: To use the map, we need to import MapKit, then define a position such as…