Mapbox-GoogleMaps
This repository contains minimal working example for reproducing this bug:
Setting up the project:
- Install dependencies with
pod install
- Provide Mapbox access token and Google Maps API Key in
AppDelegate.swift
Steps to reproduce:
- Run the app
- Tap green GoogleMaps button to present view controller with Google Maps map
- Move Google Maps map a bit - pan, zoom etc.
- Dismiss Google Maps View Controller
- Pan Mapbox map
After above steps, some labels on Mapbox map change into squares. Black squares also appear at the coordinates where annotations are located.
Panning the map to other area and back causes labels to turn normal again.
Found workarounds:
- Changing
GMSMapView.mapType
to.hybrid
instead of.satellite