没有合适的资源?快使用搜索试试~ 我知道了~
STK-X Tutorials-HTML
需积分: 50 64 下载量 70 浏览量
2013-05-14
10:51:28
上传
评论 1
收藏 820KB PDF 举报
温馨提示
试读
7页
sTK X 教程。在html中使用STK X。更多STK学习资料请关注博客:http://blog.csdn.net/appe1943
资源推荐
资源详情
资源评论
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星系
- 粉丝: 1514
- 资源: 136
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 20220823-1000-ts.dat
- Galaxy10CNN实现星系图像分类项目深度学习环境配置
- DVB-S2:GCS组帧数据.dat
- numpy+pandas_basics.ipynb
- 网络安全-Diffie Hellman密钥协商
- 双H桥电机驱动L298N芯片AD集成库ALTIUM库(原理图库+PCB封装库)文件.zip
- 555springboot + vue 线上教学平台.zip(可运行源码+数据库文件+文档)
- 554springcloud + vue 房产销售平台.zip(可运行源码+数据库文件+文档)
- 小霸王坦克游戏源码.7z
- 蓝桥杯单片机基础学习项目(LED,数码管,蜂鸣器,继电器,按键控制)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功