没有合适的资源?快使用搜索试试~ 我知道了~
首页STK-X Tutorials-HTML
资源详情
资源评论
资源推荐
STK X Tutorial – HTML
In this exercise you will gain hands-on experience using STK X to embed STK
functionality in an HTML interface.
C
ONTENTS
SEND COMMANDS TO STK X....................................................................................1
ADD ZOOM IN/OUT TO THE MAP CONTROL ................................................................3
RESPOND TO EVENTS RAISED BY STK X....................................................................3
ADD MAP PICKING..................................................................................................5
SET STK X PROPERTIES ..........................................................................................6
Send commands to STK X
1) Create a new HTML file in your preferred editor. Name the file index.htm and give
it the title
STK X HTML Tutorial Example
. You may also want to configure a
background color for aesthetics.
<html>
<head>
<title> STK X HTML Tutorial Example</title>
</head>
<body bgcolor="#CCCCFF">
</body>
</html>
2) Move to the body of the HTML page. Insert the following object tag to add the Map
control to the HTML page
<object name="Ax2D" classid="CLSID:F17BA94B-EFF8-4015-8229-76A0A7A0C9D3"
width="300" height="300" Border="0">
</object>
3) Repeat with the following two lines to add the Globe control to the HTML page.
<object name="AxVO" classid="CLSID:DAD7DBE5-0842-4B28-AE16-51F0D80F08C2"
width="300" height="300" Border="0">
</object>
4) Add a button to the page to load a scenario. The onClick handler requests that a
new scenario be loaded when the button is pressed.
<br>
<input type="button" style = "width:150" name="new_scenario"
value="New Scenario"
onClick = "AxVO.Application.ExecuteCommand('New / Scenario
STK X Tutorial – HTML 1
51星系
- 粉丝: 1505
- 资源: 136
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- ExcelVBA中的Range和Cells用法说明.pdf
- 基于单片机的电梯控制模型设计.doc
- 主成分分析和因子分析.pptx
- 共享笔记服务系统论文.doc
- 基于数据治理体系的数据中台实践分享.pptx
- 变压器的铭牌和额定值.pptx
- 计算机网络课程设计报告--用winsock设计Ping应用程序.doc
- 高电压技术课件:第03章 液体和固体介质的电气特性.pdf
- Oracle商务智能精华介绍.pptx
- 基于单片机的输液滴速控制系统设计文档.doc
- dw考试题 5套.pdf
- 学生档案管理系统详细设计说明书.doc
- 操作系统PPT课件.pptx
- 智慧路边停车管理系统方案.pptx
- 【企业内控系列】企业内部控制之人力资源管理控制(17页).doc
- 温度传感器分类与特点.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0