Search code examples
iosiphoneswiftgoogle-mapsgoogle-maps-sdk-ios

GMSMapStyle unresolved identifier


I want to change my google map style in ios. For that I am trying to implement this code. GMSMapStyle

I am importing import GoogleMaps. But I am getting this error Use of unresolved identifier GMSMapStyle. Can anybody help me to which module I have to import to avoid this error. Thanks in advance


Solution

  • The problem is that I was trying to implement this code in GoogleMapSDK version 2.0.1. But it is available from 2.1.0.