Calculate Route Multi Map
- UIKit
This example demonstrates how to use GEMKit in a UIKit application to display two independent MapViewController instances side-by-side, each calculating and presenting its own route with a separate NavigationContext.
Check the full implementation on GitHub.

Calculated Routes on multiple maps
Maps Setup
Each map is created with its own constraints so they stack vertically and fill the screen. The maps are initialised lazily — only when the route buttons are tapped:
Calculating Independent Routes
Each route button initialises its respective NavigationContext on the first tap and calculates the route on the second. The two maps and contexts operate independently: