【正文】
可以設(shè)置地圖的寬度和比例 進(jìn)行 Zoom Goto 瀏覽 縮放 /恢復(fù)縮放 /平移 測量距離 復(fù)制當(dāng)前位置到剪切板 文件打印 提供多種選擇方法:列表 /半徑 /多邊形 對地圖設(shè)置書簽 Point feature posting 智能的地圖緩存 支持多個(gè)服務(wù)器相連 生成緩沖區(qū)帶 支持矢量和光柵數(shù)據(jù)類型,覆蓋和地理引用 Autodesk MapGuide 系統(tǒng)結(jié)構(gòu) MapGuide 的三個(gè)組成元素之間是互相獨(dú)立的,都是提供在 Inter 上發(fā)布空間數(shù)據(jù)的方法。 Autodesk MapGuide Server Chapter 2: 應(yīng)用 Autodesk MapGuide Viewer 本章主要介紹 Autodesk MapGuide Viewer 的特征和功能。 和Sun174。) such as AutoCAD Map. Autodesk MapGuide PlugIn Viewer for Netscape Navigator The Autodesk MapGuide PlugIn enables Netscape, in the Windows environment, to open MWF files embedded in a web page, or directly in the Netscape Navigator. However, interaction with the MWF looks identical to that of the ActiveX ponent and they contain the same functionality. However, it is easier to embed the Active X ponents into applications than it the with the PlugIn. Autodesk MapGuide Java Viewer for MacintoshOS and Sun Solaris The Autodesk MapGuide Java Viewer is intended for both MacOS and Sun Solaris, but the browser on each is different. The Macintosh used Microsoft Inter Explorer 5 and the Sun SPARCstation uses Netscape Navigator . Autodesk MapGuide Viewer 基本功能 不管 Viewer 的類型是什么, MapGuide Viewer 具有固定的用戶界面。通過圖例中每個(gè)圖層左面的單選按鈕可以打開和關(guān)閉圖層。按住鼠標(biāo)左鍵,拖動(dòng)鼠標(biāo)光標(biāo)。 Zoom Previous: Returns the zoom to prior zoom scales. Zoom Goto: 視區(qū)縮放到某一位置。 報(bào)告 : 瀏覽當(dāng)發(fā)布地圖時(shí)提供的任何報(bào)告。 狀態(tài)欄 Autodesk MapGuide Viewer 彈出菜單 在地圖區(qū)域單機(jī)鼠標(biāo)右健可以出現(xiàn)彈 出菜單,彈出菜單是可以用戶化的,而且大多數(shù)情況下看來差不多。 Reload 按當(dāng)前的視區(qū)比例重新加載地圖。 Bookmarks Add Bookmark Display the Add Bookmark dialog box, where you specify the bookmark name under which you want to save the current view. Bookmarks Delete Bookmark Display the Delete Bookmark dialog box, where you can choose a bookmark to delete. Bookmarks (bookmark name) Adjust the map view to display the area that was saved under this bookmark name. Select Select Map Objects Display the Select Map Objects dialog box, where you select from a list of the map objects that are within the current map view. Select Select Radius Select the map features that fall within the radius you specify from a specific point. Select Select Polygon 選擇在所畫多邊形內(nèi)的所有地圖特征。緩沖區(qū)是 Autodesk MapGuide Viewer 中內(nèi)建的一個(gè)功能。 [ON | OFF] ON LayersViewWidth 制定圖例的顯示寬度,單位是屏幕上的像素。 Lon 顯示區(qū)域中心的經(jīng)度,以十進(jìn)制的度數(shù)表示。 Scale 初始的顯示比例,實(shí)數(shù)和整數(shù)值都可以。 Units 制定寬度值的單位,只有設(shè)置 了 Lat, Lon 和Width 參數(shù)時(shí)才有效。EXT=.mwf” to the end of the URL. For more information, see the “URL Parameters not supported with ActiveX control” in the Autodesk MapGuide ActiveX Control readme file. * All of the target option parameters also accept the following reserved target names: Target Name Description _blank Loads the link into a new blank browser window. The window has no name. _parent Loads the link into the immediate parent of the document that the link is in. _self Loads the link into the same window in which the link was clicked. _top Loads the link into the full body of the window from which the link was clicked. Chapter Summary At the pletion of this chapter, you learned how to: ? 應(yīng)用 MapGuide Viewer 的瀏覽功能。Lon URL 參數(shù)用戶化一個(gè)地圖。應(yīng)用 MapGuide Author 可以生成、編輯和管理地圖窗口文件( MWF), MWF 文件是最終要放到 web 服務(wù)器的公共內(nèi)容區(qū)域中,為了客戶來瀏覽地圖內(nèi)容。 ? 生成一個(gè)新的 MWF 文件。 Chapter 4: Working with Map Layers in Autodesk MapGuide Author 11 Autodesk MapGuide Author 通過 MapGuide Author 可以生成 MWF 文件,它的界面 Autodesk MapGuide Viewer 的界面,然而具有更多的功能。 在一個(gè)圖層中用光柵目錄文件生成多個(gè)光柵圖像。 設(shè)置自動(dòng)標(biāo)簽特征 with overposting reconciliation。 象征性地預(yù)覽比例和圖例。 打印預(yù)覽 可以通過一個(gè)跟蹤 ID來標(biāo)記地圖,為了將來的監(jiān)視使用。 toolbar button to access Map Window Properties Web 預(yù)覽 圖層列表 設(shè)計(jì)視圖 工具欄 報(bào)告配置 Configuration Zo m Goto 配置Configuration 彈出菜單配置 地圖 Chapter 4: Working with Map Layers in Autodesk MapGuide Author 13 General 在 General 選項(xiàng)卡中(圖 )可以為一個(gè)地圖命名,設(shè)置整體的背景顏色,加載符號(hào),并設(shè)置地圖的中心和尺寸。 3. 單擊 Cancel 健。 7. 單擊 Zoom 按鈕,通過窗選定位在中國,包括香港和臺(tái)灣。 9. 打開 Map Window Properties 對話框 , 并單擊 Take Center And Size From Current Zoom 按鈕。 11. 在 Category 下拉表中選擇 World/Continental,然后在 Available Coordinate Systems 表中選擇 Lambert Conformal Conic projection for Asia, Meter 12. 單擊 OK 退出這個(gè)對話框,然后再一次單擊 OK把改變應(yīng)用到地圖窗口文件中。 ? MWF 文件是通過圖層來組織的,并且每一個(gè)圖 層有一個(gè)明確的服務(wù)器 URL 路徑來使客戶端知道到哪里申請地圖數(shù)據(jù)。 在本章中,將會(huì)在上一章中創(chuàng)建的地圖上生成新的圖層,這會(huì)用到服務(wù)器上的 SDF 和 SQL數(shù)據(jù)來添加幾個(gè)圖層。 ? 連接空間和屬性數(shù)據(jù)。 Figure General tab of the Map Layer Properties dialog box Chapter 4: Working with Map Layers in Autodesk MapGuide Author 20 The General tab in the Map Layer Properties dialog box has the following functions: Layer Type This option is defined at the time the new layer is defined. Figure shows a Polygon type. Layer name This is the layer name used during API calls and the name of the layer as viewed by the Autodesk MapGuide Author. Legend Label The layer name that appears in Autodesk MapGuide Viewer. Show in Viewer Legend Ability to turn layers off and on in Autodesk MapGuide Viewer Make map features selectable 選擇此項(xiàng)有兩個(gè)原因: (1) 地圖中的特征要被做緩沖區(qū)。 Draw Priority 是一個(gè)在 1100 間的數(shù)。s center and size or map projection is changed, the server rebuilds all static map layers. Static map layers are most appropriate Chapter 4: Working with Map Layers in Autodesk MapGuide Author 21 when the size of the data set is relatively small and the data set does not change often (pany logo。瀏覽按鈕 上有三個(gè)點(diǎn) ,表示有更多的項(xiàng)目可供選擇。如果正在生成的圖層是多段線或多邊形,就必須制定 SDP Data Source。 Key Column Type 指定關(guān)鍵字段的類型。 Geometry Column 指定包含圖層特征幾何學(xué)數(shù)據(jù)的字段名。 下表列出的是 Name, URL, Where 選項(xiàng)卡的功能 : Link To Secondary Table 選中了此項(xiàng)后即可從第二表格中獲得特征名或 URL,或者應(yīng)用一個(gè) SQL “Where” 語句到第二表格中。這個(gè)控件只有在選中了 Link To Secondary Table 單選框后才生效。 ??? URL Source 指定是否從特征表或從第二表格中獲得 URL名。 Apply SQL Where Clause 指定是否對特征表格或第二表格應(yīng)用一個(gè) SQL Chapter 4: Working with Map Layers in Autodesk MapGuide Author 24 To WHERE 語句。 Styles 通過 Styles 選項(xiàng)卡,可以指定或改變可見圖層的顯示或比例范圍,顯示主題,圖形屬性,和標(biāo)簽協(xié)議。當(dāng) Autodesk MapGuide Author 或 Viewer 改變視區(qū)到一個(gè)圖層的顯示范圍內(nèi)時(shí),這個(gè)圖層就會(huì)被按指定的樣式設(shè)置顯示在地圖窗口中