Ios 是否可以在Google的MapAPI上添加类似于MapKit中的MKOverlay的覆盖图?

Ios 是否可以在Google的MapAPI上添加类似于MapKit中的MKOverlay的覆盖图?,ios,iphone,google-maps,google-maps-sdk-ios,google-maps-mobile,Ios,Iphone,Google Maps,Google Maps Sdk Ios,Google Maps Mobile,我们正在试验新的iOS版谷歌地图API,我们需要能够添加类似于苹果MapKit中的MKOVERA的覆盖 let poly = GMSMutablePath() poly .addCoordinate(CLLocationCoordinate2DMake(newLocation.coordinate.latitude, newLocation.coordinate.longitude)) let polygon = GMSPolygon() poly

我们正在试验新的iOS版谷歌地图API,我们需要能够添加类似于苹果MapKit中的MKOVERA的覆盖

      let poly = GMSMutablePath()

    poly .addCoordinate(CLLocationCoordinate2DMake(newLocation.coordinate.latitude, newLocation.coordinate.longitude))

    let polygon = GMSPolygon()
        polygon .path = poly
    polygon.fillColor = UIColor.greenColor()

    polygon.strokeWidth = 4
     polygon.strokeColor = UIColor .redColor()
    polygon.map = self.mapView