Infowindow anchor fails to honor the screenPoint calculated upon the onExtentChangelistener using the method esri.geometry.toScreenGeometry.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM067100
已提交
April 13, 2011
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
2.1
编程语言
JavaScript
修正版本
N/A
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
This is a documentation issue, the documentation will be updated to explain this issue at version 2.3. Prior to version 2.2, Infowindow.show accepted only screen point as arg, at 2.2 it also accepts map pointl. If you specify the map point precision is not lost on zoom. So in the problem code use graphic.geometry as the argument to Infowindow.show method instead of evt.screenPoint. For line/polygon geometry, the sample could use evt.mapPoint.