Comments (1)
问题本质核心关键
动态投影 + 数据范围 + 图层名称
解决方案
- 坐标问题:由于你使用的是天地图裁图方式,对应的EPSG编号是EPSG:4326,因此需要将原始的墨卡托/高斯坐标动态投影成经纬度的方式, 采取的办法是地图文档-动态投影.
- 图层对应:由于地图文档出图是实时出图的方式,因此再脚本代码中传入的图层的名字必须要和地图文档的名字一致
解决步骤
选择分辨率按钮, 再点击 天地图配置
//wms服务
var Layer = L.tileLayer.wms('http://192.168.10.185:6163/igs/rest/ogc/doc/EPSG_4326/WMSServer', {
//图层名称
layers: '一级道路', //此处的名称要与上面地图文档的名称一一对应,多个图层逗号分割
//wms版本号
version: '1.3.0'
}).addTo(map);
from webclient-javascript.
Related Issues (20)
- ArcGis/ArcServer-OGC出图问题
- ArcGIS/ArcServer OGC出图
- ArcGIS/ArcServer OGC服务出图
- ArcGIS/ArcServer OGC出图 HOT 1
- ArcGIS/ArcServer OGC出图
- Bug: Cesium Globe添加ElevationRamp材质,显示有错误 HOT 2
- Openlayers 位置错误 HOT 1
- WebClient解析MapGis发布的OGC WMS服务注意事项
- Openlayers3中,如何判断多边形点坐是否为连续的面 HOT 2
- 根据两点生成弧线(多点)函数 HOT 1
- **大陆地区无法使用谷歌地图服务问题 HOT 2
- Linux下部署website发现文件夹名大小写敏感导致bug HOT 2
- npm run service-release 报错: 因缺少依赖包qs而导致编译失败 HOT 1
- Bug: 天地图URL域名错误 HOT 1
- WebClient中关于OpenLayer API的添加与说明 HOT 2
- 空间分析 HOT 1
- 希望可以提供统计图的展示 HOT 1
- DataStore-分布式空间分析 HOT 1
- 关于ZondyWebClient调用OGC服务的一些建议 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webclient-javascript.