⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 measurearea.txt

📁 用ARCIMS在客户端框选一块区域求面积。
💻 TXT
字号:
MeasureArea Enhancement for ArcIMS3.1 HTML Viewer

This code adds a third display field to the measure display.
An estimated "snap-shut" area for the measure feature is shown.
The code sample shown herein assumes MapUnits of Feet, and
shows Area as Sq. Miles.  To change display units see sample code at
bottom of aimsClick.js.

JW

Replace the default designer files with these source files.
If your site has customizations, then manually paste ALL the code snippets
into your site's javascript files.

Search the included files for "MeasureArea" to locate modifications.
All modified sections end with "end MeasureArea"


Files Modified:

aimsXML.js       code added to writeXML() to draw snap-shut segment

aimsClick.js     added variable currentArea
                 added code to clickAddPoint(), resetClick()
                 added 2 functions computeArea(), invertUnits() 
                 added code to updateMeasureBox()

aimsSelect.js    added code to clearSelection()

MapFrame.htm     updated definition of "measure display" section at bottom of file
                 replace existing section with new code

/eof/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -