laptop and a wrench

Erro

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

Última Publicação: July 13, 2022 No Product Found
Número de ID do Erro BUG-000147645
EnviadoMarch 16, 2022
Última ModificaçãoJune 8, 2025
Aplica-se àNo Product Found
Versão encontradaN/A
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
Versão Fixa1.23
StatusFixed

Informações Adicionais

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.

Solução Provisória

  • 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;

Etapas para Reproduzir

ID do Erro: BUG-000147645

Software:

  • No Product Found

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download