I created a widget that calculates the shortest distance between a point and a polygon, the function that calculates is geometryEngine.nearestCoordinate (polygon, point), the distance obtained is not correct, anyone have any idea what is wrong?