提问人:Федот Евсеев 提问时间:11/16/2023 更新时间:11/16/2023 访问量:18
GMSAdvancedMarker,我做错了什么?[关闭]
GMSAdvancedMarker, what am I doing wrong? [closed]
问:
- 我注册了我的 MAP-ID
- 我安装了 GoogleMaps API
let advancedMarker = GMSAdvancedMarker(position: coordinate)
let options = GMSPinImageOptions()
let glyph = GMSPinImageGlyph(glyphColor: .yellow)
options.glyph = glyph
let glyphColor = GMSPinImage(options: options)
advancedMarker.icon = glyphColor
advancedMarker.map = mapView
- 标记仍为默认红色
答: 暂无答案
评论