laptop and a wrench

Bug

The Arcade documentation classifies the polyline type's paths property as a number but incorrectly returns a point type.

Zuletzt veröffentlicht: July 13, 2022 No Product Found
Bug-ID-Nummer BUG-000147645
EingereichtMarch 16, 2022
Zuletzt geändertJune 8, 2025
Gilt fürNo Product Found
Gefunden in VersionN/A
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
Behoben in Version1.23
StatusFixed

Zusätzliche Informationen

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;

Schritte zur Reproduzierung

Bug-ID: BUG-000147645

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln