The view's GeoViewDoubleTapped event is registered with two GeoViewTapped events when the view interaction options (MapViewInteractionOptions/SceneViewInteractionOptions) are disabled.
上次发布: February 11, 2020ArcGIS Runtime SDK
漏洞 ID 编号
BUG-000117872
已提交
November 1, 2018
上次修改时间
June 5, 2024
适用范围
ArcGIS Runtime SDK
找到的版本
100.4
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
The current behavior is as designed and is consistent with .NET event patterns.
If GeoView.Interactions.IsEnabled is true, and the user double taps on the view, the sequence of events fired are GeoViewTapped and GeoViewDoubleTapped. As a result, the mapview executes a set viewpoint operation, zooming in. In this case, do not expect the final GeoViewTapped event to be raised because the API has acted on GeoViewDoubleTapped and marked the event handled.
If GeoView.Interactions.IsEnabled is false, and the user double taps on the view, the sequence of events fired are GeoViewTapped, GeoViewDoubleTapped, and GeoViewTapped because GeoViewDoubleTapped was not marked as handled by the API, allowing it to bubble up.