Bug ID Number |
BUG-000147645 |
Submitted | March 16, 2022 |
Last Modified | June 8, 2025 |
Applies to | No Product Found |
Version found | N/A |
Operating System | Windows OS |
Operating System Version | 10.0 64 Bit |
Version Fixed | 1.23 |
Status | Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
|
Additional Information
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.
Workaround
- 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;
Steps to Reproduce