Possible bug: Tiny rectangle fails to identify
When using the identify tool that allows a user to click a point or to drag a rectangle, if they accidentally drag a tiny rectangle, there will be a failure of the identify operation.
User gets the error:
The requested operation failed. Try again later, or inform your application administrator of the problem.
The browser console shows:
Error performing identify operation on service
Browser network tab will show that the payload is
f:json
returnGeometry:true
spatialRel:esriSpatialRelIntersects
geometry:{"rings":[[[-10653146.274259645,3511873.348148624],[-10653146.274259645,3511873.348148624],[-10653146.274259645,3511870.9594914904],[-10653146.274259645,3511870.9594914904],[-10653146.274259645,3511873.348148624]]],"spatialReference":{"wkid":102100}}
geometryType:esriGeometryPolygon
and response is
{
"error": {
"code": 400,
"message": "Failed to execute query.",
"details": []
}
}
My only work around is to replace the button with one that does not allow dragging a box, but that is less than ideal as it doesn't offer the versatility to which they've become accustomed. i'm not sure if a tolerance can be created for users who inadvertently move the mouse while clicking.
0
Please sign in to leave a comment.
Comments
0 comments