<!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>
没有合适的资源?快使用搜索试试~ 我知道了~
WebGis 完整功能例子.rar
共1798个文件
png:1466个
gif:198个
js:48个
需积分: 41 12 下载量 117 浏览量
2019-12-26
21:39:52
上传
评论 2
收藏 5.65MB RAR 举报
温馨提示
WebGIS完整功能例子 initialize: function(container){ this.container = container; this.container.style.backgroundImage = 'url(' + ImageBaseDir + 'iaspec_bottom.png)'; this.mapId = Util.createUniqueID();
资源推荐
资源详情
资源评论
收起资源包目录
WebGis 完整功能例子.rar (1798个子文件)
measure.ani 42KB
measure.ani 42KB
measure1.cur 3KB
Dgn2_Ice.cur 3KB
Dgn2_Ice.cur 3KB
measure1.cur 3KB
click.cur 2KB
click.cur 2KB
zoomin.cur 326B
zoomin.cur 326B
zoomout.cur 326B
zoomout.cur 326B
mea.cur 322B
mea.cur 322B
Thumbs.db 82KB
Thumbs.db 82KB
Thumbs.db 14KB
Thumbs.db 14KB
Thumbs.db 8KB
Thumbs.db 8KB
left1_1.gif 3KB
left1_1.gif 3KB
hotspot.gif 3KB
hotspot.gif 3KB
gpDeleteD.gif 3KB
gpDeleteD.gif 3KB
infowindow.gif 2KB
infowindow.gif 2KB
full2.gif 1KB
identifyU.gif 1KB
full2.gif 1KB
identifyU.gif 1KB
identifyD.gif 1KB
identifyD.gif 1KB
pan3.gif 1KB
pan3.gif 1KB
identify.gif 1KB
zoomin2.gif 1KB
identify.gif 1KB
zoomin2.gif 1KB
pan1.gif 1KB
zoomout2.gif 1KB
identifyX.gif 1KB
zoomin3.gif 1KB
identifyX.gif 1KB
pan1.gif 1KB
zoomout2.gif 1KB
zoomin3.gif 1KB
panX.gif 1KB
panX.gif 1KB
pan2.gif 1KB
pan2.gif 1KB
zoomout3.gif 1KB
zoomout3.gif 1KB
zoomoutX.gif 1KB
zoomoutX.gif 1KB
zoominX.gif 1KB
zoominX.gif 1KB
zoomin1.gif 1KB
zoomin.gif 1KB
zoomout1.gif 1KB
zoomin.gif 1KB
zoomout1.gif 1KB
zoomin1.gif 1KB
full3.gif 1KB
full3.gif 1KB
fullextX.gif 1KB
fullextX.gif 1KB
forward2.gif 1KB
forward2.gif 1KB
back2.gif 1KB
back2.gif 1KB
full1.gif 1KB
full1.gif 1KB
forward3.gif 1KB
back3.gif 1KB
back3.gif 1KB
forward3.gif 1KB
clear2.gif 1KB
clear2.gif 1KB
locate2.gif 1KB
locate2.gif 1KB
backX.gif 1KB
backX.gif 1KB
back1.gif 1KB
back1.gif 1KB
forwardX.gif 1KB
forward1.gif 1KB
forward1.gif 1KB
forwardX.gif 1KB
clear3.gif 1KB
clear3.gif 1KB
添加网吧02.gif 1KB
添加网吧02.gif 1KB
添加网吧02.gif 1KB
添加网吧02.gif 1KB
clear1.gif 1KB
search2.gif 1KB
clear1.gif 1KB
search2.gif 1KB
共 1798 条
- 1
- 2
- 3
- 4
- 5
- 6
- 18
资源评论
zx1859319
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功