Position Tracker
- UIKit
- SwiftUI
This example demonstrates how to change the map's Position Tracker in a UIKit application.
Check the full implementation on GitHub.
UI and Map Integration
The following code outlines the main view, which displays the map and the main action buttons:
Position Tracker customization
The following code implements the different methods for the location following and the position tracker customization actions:
Location Services and Location Manager
The referenced AppManager and LiveDataSourceController classes prepare the PositionContext and DataSourceContext objects from the GEMKit package to make full use of the Location data. Check the full implementation for the corresponding files on GitHub.
This example demonstrates how to change the map's Position Tracker in a SwiftUI application.
Check the full implementation on GitHub.
UI and Map Integration
The following code outlines the main view, which displays the map and the main action buttons:
Position Tracker customization
The following code implements the different methods for the position tracker customization actions:
Location Services and Location Manager
The referenced AppManager and LiveDataSourceController classes prepare the PositionContext and DataSourceContext objects from the GEMKit package to make full use of the Location data. Check the full implementation for the corresponding files on GitHub.
The officially supported formats for customizing the Position Tracker are .obj, .gltf and .png.