基于arcgis api for js 的WebGis开发
webgis吧
全部回复
仅看楼主
level 6
陈宇809 楼主
2014年08月06日 12点08分 1
level 6
陈宇809 楼主
2014年08月06日 13点08分 2
level 6
陈宇809 楼主
1、API的准备
(1)可以从ESRI官方网站下载然后部署到本地
http://www.esri.com/apps/products/download/index.cfm?fuseaction=download.all#ArcGIS_API_for_JavaScript
(2)也可以使用在线API
2014年08月06日 13点08分 3
level 6
陈宇809 楼主
2、开始第一个WebGis程序
(1)新建一个html 文件
2014年08月06日 13点08分 4
level 6
陈宇809 楼主
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="css/main.css" rel="stylesheet">
<link href="css/flotDiv.css" rel="stylesheet">
<link rel="stylesheet" href="http://js.arcgis.com/3.10/js/esri/css/esri.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.10/js/dojo/dojox/grid/resources/Grid.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.10/js/dojo/dojox/grid/resources/tundraGrid.css">
<script type="text/javascript">var djConfig = { parseOnLoad:true }; </script>
<style>
@import "http://js.arcgis.com/3.10/js/dojo/dijit/themes/claro/claro.css";
</style>
<script src="http://js.arcgis.com/3.10/"></script>
<script type="text/javascript">
var map;
require([
"esri/map"],function(Map){
var startExtent = new esri.geometry.Extent(108.78560670168798, 24.639410728722225, 114.25573469270196, 30.12914801606816, new esri.SpatialReference({ wkid: 4490 }));
var MyTiledMapServiceLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://www.dzmap.cn/OneMapServer/rest/services/vector_service/MapServer");
map = new Map("map",{
fadeOnZoom: true,
slider:false,
logo:false,
nav:false
});
map.addLayer(MyTiledMapServiceLayer);
map.setExtent(startExtent);
});
</script>
</head>
<body class="claro">
<div id="map">
<div id="banner">
<div id="logo"></div>
</div>
<div id="toolbar">
<img id="zoomin" alet="" src="gisICON/放大24.png">
<img id="zoomout" alet="" src="gisICON/缩小24.png">
<img id="pan" alet="" src="gisICON/漫游24.png">
<img id="zoomprev" alet="" src="gisICON/上一视图24.png">
<img id="zoomnext" alet="" src="gisICON/下一视图24.png">
<img id="measure" alet="" src="gisICON/测量24.png">
<img id="clear" alet="" src="gisICON/清除24.png">
</div>
</div>
</body>
</html>
2014年08月13日 09点08分 5
level 6
陈宇809 楼主
2014年08月13日 09点08分 6
楼主能给发下你的那几个CSS表不, 谢谢了[呵呵]
2014年12月04日 10点12分
楼主可以给我发一下么,想看个例子,谢谢了,[email protected]
2015年12月19日 13点12分
level 1
楼主楼主,可以把这个WebGIS发给我么?我学习一下😊[email protected]
2016年02月26日 10点02分 8
level 1
楼主 我想和你交流一下 webgis 方面的问题 344831812。这我扣扣 加下呗
2016年03月19日 15点03分 9
level 2
做的很不错的,看来对WebGIS很在行呀。
西思艾(北京)软件有限公司正在招聘WebGIS开发工程师[呵呵]
2016年04月12日 02点04分 10
level 4
[email protected]求发。谢谢
2016年04月19日 17点04分 11
level 1
楼主求帮助啊 愿酬谢
2016年04月24日 08点04分 12
level 1
楼主楼主,求助求助!楼主会webgis的在线编辑吗,会JavaScript和PHP吗,求帮忙做一个东西,急求!有报酬!看见了麻烦回复!或QQ或微信597418597!加好友时麻烦加上备注!
2016年05月03日 02点05分 14
level 1
楼主,求助毕设,有偿,可以私聊一下吗
2017年01月11日 10点01分 15
492384481
2017年01月13日 15点01分
webgis开发的毕业设计也可以找我,406503412,很多毕业设计方向作品可以提供
2017年02月09日 00点02分
level 1
收藏了 唉 做毕设做的心塞
2017年04月05日 12点04分 16
level 1
请问知道怎么调用三维地图吗
2017年04月18日 15点04分 17
1