如何将 MKOverlay 的不透明度设置为完全?
如何更改 MKOverlay 的不透明度?
它目前是透明的 - 这是我不想要的。
How can I alter the opacity of my MKOverlay?
It is currently see-through - which I don't want.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我深入参考了如何做到这一点:
在 TileMap 示例中,我们在
drawMapRect:zoomScale:inContext
中绘制内容。其中有以下行:
变量
tileAlpha
是您需要设置的内容。这就是参考所说的内容:
希望这对将来的人有帮助。
I have found deep into the references how to do it:
In TileMap example one draws stuff in
drawMapRect:zoomScale:inContext
.In there is the following line:
The variable
tileAlpha
is what you need to set.This is what the reference said:
Hope this helps someone in the future.