Change GMSMapView default map background color in iOS

后端 未结 1 1881
春和景丽
春和景丽 2020-12-22 03:35

The GMSMapView in iOS has a default background color of tan, or something like it.

I have a requirement to change that color to white. I\'ve tried using a subclass

相关标签:
1条回答
  • 2020-12-22 04:22

    Now you can change GMSMapStyle of you map (available with Google Maps SDK for iOS 2.1). Styling works only on the kGMSTypeNormal map type. I create my own style with https://mapstyle.withgoogle.com/ Hope, it will help you.

    0 讨论(0)
提交回复
热议问题