pending_actions运输和物流文档即将弃用。您可在
移动服务网站上找到更新后的文档。
GMTCMutablePolygonStyleOptions 类参考
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
概览
继承 GMTCPolylineStyleOptions。
成员函数文档
- (void) setTrafficColorForSpeed: |
|
(GMTSSpeedType) |
speedType |
颜色: |
|
(nullable UIColor *) |
color [颜色] |
|
|
| |
设置指定速度类型的颜色。
如果将颜色设为 NULL,则系统会使用速度类型的默认颜色。
- 参数:
-
speedType | 要应用颜色的速度类型。 |
颜色 | 要应用于速度类型的颜色。 |
返回指定速度类型的颜色。
- 返回:
- 如果启用了路况信息,并且未设置颜色,则返回指定速度对应的默认颜色。如果未启用流量,则返回默认描边颜色。
使用以下默认值初始化对象:`strokeWidth:2.0f`、`strokeColor:[UIColor blueColor]`、`isVisible:YES`、`zIndex:10`、`isGeodesic:NO`、`isTrafficEnabled:NO`。
属性说明
- (int32_t) zIndex [read, write, assign] |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{
"lastModified": "最后更新时间 (UTC):2023-12-02。",
"confidential": False
}