如何删除 Google 地图中 iconView 的 alpha?

How to remove alpha of iconView in GoogleMaps?

我知道这听起来很简单,但默认情况下 GoogleMaps 默认函数 iconView 的默认 alpha 为 0.9。我尝试将其更改为 1,但它仍然是一样的。有什么建议吗?提前致谢。

[编辑] 这是我的代码

        let cView = UIView(frame: CGRectMake(0,0,400*PT,300*PT))
        let innerView = UIView(frame: CGRectMake(0,0,400*PT,190*PT))
        innerView.backgroundColor = UIColor.whiteColor()
        innerView.layer.cornerRadius = 3
        innerView.layer.masksToBounds = true
        innerView.alpha = 1
        cView.addSubview(innerView)
        let cIcon = UIImageView(frame: CGRectMake(0*PT, 200*PT, 90*PT, 100*PT))
        cIcon.image = UIImage(named: "1.png")
        cView.addSubview(cIcon)
        cView.backgroundColor = UIColor.clearColor()
        item.iconView = cView

[编辑] 添加了输出的屏幕截图

[编辑] 以下答案后的最终输出

可能有点明显,但你可以尝试添加这个吗?

item.opacity = 1