Displaying markers on TGMapView

Display a map and annotate it with one or more static pins (i.e. pins that have a fixed location). The pin.title and pin.subtitle text is displayed in the callout bubble when the pin is tapped.

// Declare the marker "pin" and set its coordinates, title, and subtitle
let pin = MGLPointAnnotation()
pin.coordinate = CLLocationCoordinate2D(latitude: 34.101558, longitude: -118.340944)
pin.title = "Grauman's Chinese Theatre"
pin.subtitle = "6925 Hollywood Blvd, Hollywood, CA"

// Add marker "pin" to the map
mapView.addAnnotation(pin)
// Declare the marker "pin" and set its coordinates, title, and subtitle
MGLPointAnnotation *pin = MGLPointAnnotation.new;
pin.coordinate = CLLocationCoordinate2DMake(34.101558, -118.340944);
pin.title = @"Grauman's Chinese Theatre";
pin.subtitle = @"6925 Hollywood Blvd, Hollywood, CA";

// Add marker "pin" to the map
[self.mapView addAnnotation:pin];
Expected Output
TallyGo
Check out the iOS Reference App to see this example in action.

Look for example 204 in the app.