Debugging and profiling
The v11 release of the Mapbox Maps SDK for Android brings several new tools to enhance and keep the quality of the map user experience.
With the introduction of the MapboxMapRecorder
class, it becomes simpler to create reproducible instances of rendering issues that might happen in specific camera positions or with custom runtime settings. These recorded sessions can also be utilized to gauge performance, and the collected data can be assessed through the Performance Statistics API or with our extended Tracing API. This approach is valuable for pinpointing issues arising from alterations in the map's style or hardware-specific conditions. These new tools, when used together, offer a frame-by-frame analysis of repeatable test scenarios, aiding in the resolution of map loading lags or delays.