Bug-ID-Nummer |
BUG-000101836 |
Eingereicht | December 31, 2016 |
Zuletzt geändert | June 5, 2024 |
Gilt für | ArcGIS Web AppBuilder developer edition |
Gefunden in Version | 2.1 |
Betriebssystem | Windows OS |
Betriebssystemversion | N/A |
Status | Will Not Be Addressed
Das Entwicklungsteam hat das Problem bzw. die Anforderung sorgfältig geprüft und ist zu dem Schluss gekommen, es nicht zu beheben bzw. keine weiteren Schritte zu unternehmen. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
Zusätzliche Informationen
The reason for getting two different area measurements results is passing incorrect parameters to the AreasAndLengthsParameters.
According to JSAPI, property calculationType of AreasAndLengthsParameters should be preserveShape.
For more information: https://developers.arcgis.com/javascript/3/jsapi/areasandlengthsparameters-amd.html#calculationtype
Workaround
Use the areasAndLengths() method of GeometryService class to measure the area.
Schritte zur Reproduzierung