I am learning about the Google Maps SDK and getting to know Swift, and when I create a mapview centered on my location using myLocation = true
, the location bubble shows up, but it appears with a square mask around it like this
I am not performing any operation on the location indicator, at least not intentionally.
Has anyone ran into this issue before?
This is a known issue when running the Simulator. It works correctly on a real device. It's marked as WontFix on the issue tracker.
https://code.google.com/p/gmaps-api-issues/issues/detail?id=5113
Just like zhm said. It is a known problem with Xcode simulator and works fine on the real iOS device. I'm adding screenshots of the difference:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With