📄 measurearea.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 + -