The map points are not being correctly captured in a BufferTool class of the ArcIMS_SelectBufferTool_<<Language>> sample.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM011141
已提交
August 22, 2007
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.2
编程语言
VB.Net
修正版本
9.3
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
1. Open the “ArcIMS_SelectBufferTool_<<Language>>” solution in VS2005.2. Open BufferTool.<<Language>> a. In case of VB.NET the following changes have to be made:Change “Dim imsExtent As ESRI.ArcGIS.ADF.IMS.Geometry.Envelope = mapview.Extent” to “Dim imsExtent As ESRI.ArcGIS.ADF.IMS.Geometry.Envelope = ESRI.ArcGIS.ADF.Web.DataSources.IMS.Converter.ToIMSGeometry(mapctrl.Extent)” b. In case of C# the following changes have to be made:Change “ESRI.ArcGIS.ADF.IMS.Geometry.Envelope imsExtent = (ESRI.ArcGIS.ADF.IMS.Geometry.Envelope)ESRI.ArcGIS.ADF.Web.DataSources.IMS.Converter.ToIMSGeometry(mapctrl.Extent); ” to “ESRI.ArcGIS.ADF.IMS.Geometry.Envelope imsExtent = (ESRI.ArcGIS.ADF.IMS.Geometry.Envelope)ESRI.ArcGIS.ADF.Web.DataSources.IMS.Converter.ToIMSGeometry(mapctrl.Extent); ”