漏洞 ID 编号 |
BUG-000147645 |
已提交 | March 16, 2022 |
上次修改时间 | June 8, 2025 |
适用范围 | No Product Found |
找到的版本 | N/A |
操作系统 | Windows OS |
操作系统版本 | 10.0 64 Bit |
修正版本 | 1.23 |
状态 | Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
|
附加信息
This is a documentation issue and not a bug in the code. The documentation for the geometry types and geometry functions is updated to properly reflect the ways geometries can be constructed and what the actual types of the rings and paths are within each type.
解决办法
- Use the JavaScript Object Notation (JSON) directly or convert a polyline back to JSON. The code below returns the x-coordinate:
return polylineJSON.paths[0][0][0];
- If working directly with the point objects within the polyline object, call the property of a point data type, instead of using an index. The code below returns the x-coordinate:
return poly.paths[0][0].x;
重现步骤