<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<html xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-type" content="text/html; charset=GBK">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
<title>Skymap(Fix Exetent) - Tom Xu</title>
<style type="text/css">
v\:* { behavior:url(#default#VML); }
BODY {MARGIN: 0px}
.STYLE1 {FONT-SIZE: 12px; COLOR: #ffffff}
.Layer6 {
position:absolute;
z-index:13;
}
.lan2 {
font-family: "宋体";
font-size: 12px;
line-height: 150%;
color: #003a6a;
text-decoration: none;
font-weight: bold;
}
</style>
<script type="text/javascript" src="map/Util.js"></script>
<script type="text/javascript" src="map/LoadLibFile.js"></script>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td>
<table id="table1" cellspacing="0" cellpadding="0" width="100%" border="0">
<tbody>
<tr>
<td height="35">
<table id="table2" height="35" cellspacing="0" cellpadding="0" width="100%" border="0">
</table>
</td>
</tr>
<tr>
<td valign="bottom" align="left" height="30">
<table id="table4" width="100%" border="0">
<tbody>
<tr>
<td align="left">
<div id="bar" style="width: 100%; height: 25px;">
</div>
</td>
<td align="right">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td bgcolor="#316198" height="0">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<div align="center">
<div id="map" style="position: absolute; width: 1000px; height: 540px; left: 0px;
top: 0px;">
</div>
</div>
</td>
</tr>
</tbody>
</table>
<script type="text/javascript">
<!--
//Global constants
var ScaleParameter = 2;
var TileSize = 256;
var MaxZoomLevel = 5;
var DefaultLevel = 2;
var FullExtent = new Bound(113.65e16, 114.75e16, 22.35e16, 22.9e16);
var Width = Util.distanceByLnglat(FullExtent.getMinX()/1e16,FullExtent.getMaxY()/1e16,FullExtent.getMaxX()/1e16,FullExtent.getMaxY()/1e16);
var ImageBaseDir = "images/";
//Create toolbar
var toolbar = new ToolBar($('bar'));
var toolInterval = 25;
toolbar.addTool(new ZoominTool('zoomin','zoomin1.gif','zoomin2.gif','zoomin3.gif','absolute',1+toolInterval*1,35,28,25))
toolbar.addTool(new ZoomoutTool('zoomout','zoomout1.gif','zoomout2.gif','zoomout3.gif','absolute',1+toolInterval*2,35,28,25))
toolbar.addTool(new PanTool('pan','pan1.gif','pan2.gif','pan3.gif','absolute',1+toolInterval*3,35,28,25), true)//true means default toolitem
toolbar.addTool(new MeasureTool('measure','measure1.gif','measure2.gif','measure3.gif','absolute',1+toolInterval*4,35,28,25))
toolbar.addCommand(new ClearCmd('clear','clear1.gif','clear2.gif','clear3.gif','absolute',1+toolInterval*5,35,28,25))
toolbar.addCommand(new FullCmd('full','full1.gif','full2.gif','full3.gif','absolute',1+toolInterval*6,35,28,25))
toolbar.addCommand(new PrevCmd('back','back1.gif','back2.gif','back3.gif','absolute',1+toolInterval*7,35,28,25))
toolbar.addCommand(new NextCmd('forward','forward1.gif','forward2.gif','forward3.gif','absolute',1+toolInterval*8,35,28,25))
//Create map
var map = new Map($('map'));
var mt = new SZMapType('images\\2d\\','map1.gif','map2.gif',1,2);
map.addMapType(mt, true);
var FirstZoomTileRows = mt.firstRows;
var FirstZoomTileCols = mt.firstCols;
map.setCenter(new Point(114.20, 22.59), 2);
map.addToolBar(toolbar);
map.addControl(new OvMap($('map')));
map.addControl(new NavControl($('map')));
var i ="";
//-->
</script>
</body>
</html>
zx1859319
- 粉丝: 0
- 资源: 5
最新资源
- HTML5实现好看的游戏开发上市公司网站模板.zip
- HTML5实现好看的游戏公司官网网站模板.zip
- 国开-大数据技术导论-实验5 大数据可视化.doc
- 国开-大数据技术导论-实验4 大数据去重.doc
- 国开-大数据技术导论-实验3 网页数据获取.doc
- 国开-大数据技术导论-实验1 Linux操作系统部署.doc
- 冒泡排序,插入排序,选择排序
- (21688012)微信商城小程序
- (24517238)17 CDMA2000码分多址通信系统.zip
- (9993602)购物车小程序
- (172604420)STL常用容器1
- (173992034)完整word版-C语言程序设计(郑莉)课后习题答案.doc
- (174151238)EDFA的matlab建模,EDFA的matlab建模,EDFA的matlab建模,EDFA的matlab建模,EDFA的mat
- springboot2.x课程配套课件笔记springboot版PDF
- (174269454)C语言课程设计-考试报名管理系统
- (174517244)大一上学期C语言大作业.7z
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈