laptop and a wrench

不具合

Unable to restrict zoom to Full Extent to the extent of specific customer data.

最後に公開された状態: August 25, 2014 ArcGIS Server (.NET)
不具合 ID 番号 NIM046855
送信されましたJuly 14, 2009
最終更新日April 2, 2025
適用対象ArcGIS Server (.NET)
見つかったバージョン9.3.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン2003
ステータスWill Not Be Addressed

参考情報

No Public Explanation

対処法

The behavior reported here is by design. The customers data is in WGS84 and that matches the coordinate system of ArcGIS Online. When you cache the local service and overlay it on ArcGIS Online, the scale levels of the two services will be unioned together and that is why there are more than 18 scale levels displayed in the ZoomLevel control. Clicking FullExtent in this situation will change the extent to the unioned extent. The California/Portland/USA_Data services are not in WGS84. When you overlay these services on top of ArcGISOnline and set the local service as the primary map resource, the ZoomLevel will only display the scale levels of the local service and dynamic images will be generated for the ArcGISOnline layer. Navigation, including the FullExtent command, will be restricted to the scale levels of the locally cached service.If you want overlay a cached service (that is in WGS84) on top of ArcGISOnline and have the FullExtent command only zoom to the extent of your cached service, please implement this code:1) In Visual Studio, open the application's Default.aspx file. 2) Find the markup for Toolbar1. If the application has not been customized, the markup begins on line 71. 3) If necessary, add the attribute OnCommandClick to the markup and assign it a value of "Toolbar1_CommandClick." If this is added to the end of the first line of the Toolbar's markup, that line will appear as follows: <esri:Toolbar ID="Toolbar1" runat="server" BuddyControlType="Map" Group="Toolbar1_Group" Height="28px" OnCommandClick="Toolbar1_CommandClick" 4) Open the Default page's code-behind file, Default.aspx.cs. 5) Inside the closing bracket of the _Default class definition, on line 204, insert the following method: protected void Toolbar1_CommandClick(object sender, ToolbarCommandClickEventArgs toolbarCommandClickEventArgs){ if (toolbarCommandClickEventArgs.CommandName == "MapFullExtent") { Map1.CallbackResults.Clear(); Map1.Zoom(Map1.PrimaryMapResourceInstance.MapInformation.FullExtent); }}

再現の手順

不具合 ID: NIM046855

ソフトウェア:

  • ArcGIS Server (.NET)

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動