错误
使用由 9.3 .NET Web ADF 构建的 Web 制图应用程序时,单击“全图”按钮或对任务结果使用“缩放至/平移至”选项可能会导致应用程序崩溃,并出现以下错误:
“应用程序错误
对象参考未设置为对象的实例。
ESRI.ArcGIS.ADF.Web.Geometry.TransformationParams..ctor(Envelope extent,
Int32 viewWidth, Int32 viewHeight, Double mapRotationInDegrees,
TransformationDirection direction, SpatialReference spatialReference) at
ESRI.ArcGIS.ADF.Web.UI.WebControls.OverviewMap.getTransformationParams
(TransformationDirection direction)”
OverviewMap 的 OverviewMapResource 属性未设置为有效的资源项。
当在 MapResourceManager 中重命名或删除在 OverviewMap 中设置为显示的地图资源项时,很容易发生这种情况。
从 ArcGIS 专家处获得帮助
下载 Esri 支持应用程序