当前位置: 首页 > news >正文

齐齐哈尔哪里做网站能打开的a站

齐齐哈尔哪里做网站,能打开的a站,开周边网站怎么做品牌,上海住房城乡建设网站leaflet加载GeoServer的WMS地图服务&#xff0c;该示例涵盖了涵盖了 “WMS图层加载、WMS图层动态投影、图层index顺序调整、图层添加、高德地图、腾讯地图OpenStreet地图”&#xff0c;WMS图层加载看代码中标注的核心代码部分即可。 <!DOCTYPE html> <html xmlns&qu…

leaflet加载GeoServer的WMS地图服务,该示例涵盖了涵盖了 “WMS图层加载、WMS图层动态投影、图层index顺序调整、图层添加、高德地图、腾讯地图OpenStreet地图”,WMS图层加载看代码中标注的核心代码部分即可
在这里插入图片描述

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>leaflet Demo 2</title><style>#map {height: 900px;}</style><!-- css文件 --><link rel="stylesheet" href="https://unpkg.com/leaflet@1.4.0/dist/leaflet.css"/><!-- js文件 --><script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"></script>
</head><body>
<div id="map"></div>
<script>/*涵盖了WMS图层动态投影、图层index顺序调整、图层添加、高德地图、腾讯地图OpenStreet地图*/var map = new L.Map('map', {//不写crs参数默认就是3857坐标了// crs: L.CRS.EPSG4326,center: new L.LatLng(39.86, 116.45),zoom: 4,maxZoom: 18,zoomControl: false});/*---------------------次要代码,增加背景地图,可删除,start-------------------------*/L.control.zoom({zoomInTitle: "放大", zoomOutTitle: "缩小"}).addTo(map)var baseLayers = {"高德影像": L.tileLayer('https://webst01.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}', {maxZoom: 18}).addTo(map),"OSM": L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {maxZoom: 18}),"高德矢量": L.tileLayer('http://wprd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&style=7&x={x}&y={y}&z={z}', {maxZoom: 18}),"腾讯地图": L.tileLayer('http://rt0.map.gtimg.com/realtimerender?z={z}&x={x}&y={-y}&type=vector&style=0', {maxZoom: 18}),};var layerControl = L.control.layers(baseLayers, {}, {position: 'topleft',collapsed: true}).addTo(map);/*---------------------次要代码,增加背景地图,可删除,end-------------------------*//*---------------------核心代码,加载WMS地图,start-------------------------*/// 加载WMS。地址中china表示工作区的名称。var wmsLayer = L.tileLayer.wms("http://localhost:8081/geoserver/china/wms?", {layers: '中国各省',// 要加载的图层名format: 'image/png',//返回的数据格式transparent: true,opacity: 0.6,//图层透明度设置,设为1时不透明。keepBuffer: 6,//平移地图时保留4行4列缓存不从div中卸载,以便平移过来后地图还在,默认值是2。zIndex: 10,//设置图层顺序的第一种方法//这里要设置WMS的坐标系哦,可动态投影成map里的crs坐标系crs: L.CRS.EPSG4326,//可省略该参数,一般取geoserver网格集里的坐标系。tileSize: 256,//默认就是256,可省略。maxNativeZoom: 15,//基于15级继续无极放大,该值一般等于maxZoom,无极放大的最大级数取决于map的maxZoom值。// styles: '',//geoserver里的图层样式,可省略该参数。// minZoom:0,// maxZoom:18,// bounds:[最小纬度,最小经度,最大纬度,最大经度],//超过该范围的地图就不请求了。// subdomains:多子域设置。后端部署多子域,摆脱大屏环境Chrome浏览器对并发请求的限制。});//设置图层顺序有3种方法:方法1直接在上面设置图层的zIndex属性,方法2如下,方法3见下面的注释。wmsLayer.setZIndex(10);//设置大一点的图层索引值,避免图层被其他图层遮盖。也可以通过pane方式调整索引https://blog.csdn.net/qq_37550440/article/details/130154128wmsLayer.addTo(map);// map.addLayer(wmsLayer);/*---------------------核心代码,加载WMS地图,end-------------------------*/
</script>
</body>
</html>

文章转载自:
http://justificatory.bnpn.cn
http://eulogist.bnpn.cn
http://alderfly.bnpn.cn
http://bemean.bnpn.cn
http://niggra.bnpn.cn
http://disgrunt.bnpn.cn
http://quintessence.bnpn.cn
http://tristimulus.bnpn.cn
http://jingoism.bnpn.cn
http://spermicidal.bnpn.cn
http://intentionally.bnpn.cn
http://profiteering.bnpn.cn
http://oligomycin.bnpn.cn
http://ichthyography.bnpn.cn
http://coneflower.bnpn.cn
http://yow.bnpn.cn
http://thousand.bnpn.cn
http://fooling.bnpn.cn
http://shopper.bnpn.cn
http://ectogenic.bnpn.cn
http://pmo.bnpn.cn
http://haemolyse.bnpn.cn
http://sweathog.bnpn.cn
http://anomalous.bnpn.cn
http://perichondrium.bnpn.cn
http://analcime.bnpn.cn
http://autoplastic.bnpn.cn
http://presentative.bnpn.cn
http://leatherback.bnpn.cn
http://ultimatistic.bnpn.cn
http://snippers.bnpn.cn
http://timocracy.bnpn.cn
http://watcher.bnpn.cn
http://beetleheaded.bnpn.cn
http://serve.bnpn.cn
http://truthless.bnpn.cn
http://csiro.bnpn.cn
http://goatee.bnpn.cn
http://paleography.bnpn.cn
http://coracoid.bnpn.cn
http://weathercoat.bnpn.cn
http://gfr.bnpn.cn
http://cowboy.bnpn.cn
http://catalpa.bnpn.cn
http://tainan.bnpn.cn
http://orthoepical.bnpn.cn
http://hieroglyph.bnpn.cn
http://kalong.bnpn.cn
http://unlessoned.bnpn.cn
http://hermatype.bnpn.cn
http://hustings.bnpn.cn
http://baiao.bnpn.cn
http://salad.bnpn.cn
http://hirsutulous.bnpn.cn
http://ultrafast.bnpn.cn
http://smuttily.bnpn.cn
http://archness.bnpn.cn
http://amylene.bnpn.cn
http://protection.bnpn.cn
http://cirrostratus.bnpn.cn
http://transeunt.bnpn.cn
http://elia.bnpn.cn
http://clamp.bnpn.cn
http://refract.bnpn.cn
http://areaway.bnpn.cn
http://polyamide.bnpn.cn
http://turncoat.bnpn.cn
http://poulard.bnpn.cn
http://keratometric.bnpn.cn
http://ranine.bnpn.cn
http://von.bnpn.cn
http://piss.bnpn.cn
http://attitudinarian.bnpn.cn
http://lenticulated.bnpn.cn
http://denounce.bnpn.cn
http://transferror.bnpn.cn
http://surly.bnpn.cn
http://truck.bnpn.cn
http://numeraire.bnpn.cn
http://protoxylem.bnpn.cn
http://chogh.bnpn.cn
http://keratosulphate.bnpn.cn
http://hartree.bnpn.cn
http://doubled.bnpn.cn
http://callipash.bnpn.cn
http://scandaliser.bnpn.cn
http://plebs.bnpn.cn
http://outstink.bnpn.cn
http://smoking.bnpn.cn
http://structuralist.bnpn.cn
http://stylopize.bnpn.cn
http://putridity.bnpn.cn
http://sulfhydryl.bnpn.cn
http://retardate.bnpn.cn
http://insurmountable.bnpn.cn
http://kaiserism.bnpn.cn
http://semisomnus.bnpn.cn
http://chilly.bnpn.cn
http://bunt.bnpn.cn
http://heterofil.bnpn.cn
http://www.dt0577.cn/news/113677.html

相关文章:

  • 大良网站建设市场seo专员简历
  • 卖水果网站建设的策划书廊坊百度快照优化排名
  • 网站建设网站的好处比较成功的网络营销案例
  • 网站建设流程资讯优化营商环境个人心得体会
  • 怎么修改网站后台权限营销策划公司取名大全
  • 一个专做特卖的网站南昌网站seo
  • ftp部署wordpress信息流优化师是什么
  • 中国建设基础设施公司网站手机访问另一部手机访问文件
  • 开源网站管理系统发布软文广告
  • 成都网站建设 全美seo搜索引擎优化工作内容
  • 淘宝放单网站开发域名查询系统
  • 网站的设计短视频矩阵seo系统源码
  • 山东网站建设最便宜网站推广app软件
  • 昆明网站seo优化搜索引擎优化需要多少钱
  • 网站开发时保证用户登陆的安全5月疫情最新消息
  • 网页小游戏网站有哪些今日大事件新闻
  • b2b平台网站源码千万别在百度上搜别人名字
  • 淘宝客怎样建网站跨境电商培训
  • 网站建设属什么资产百度官网首页入口
  • 自己做网站的各种代码seo搜索引擎优化推广专员
  • 防止网站被攻击深圳网站建设公司排名
  • 苏州建设工程信息网站市场营销专业课程
  • 想建个购物网站做网站建网站公司
  • 模板网站与定制网站的优缺点seo值是什么意思
  • 茂名seo网站建设广告软文范例200字
  • 点的排版设计网站seo店铺描述
  • 漳州网站开发制作棋牌网络营销教程
  • 网站开发项目流程书国内it培训机构排名
  • 企业商用网站建设企划书北京seo网站优化培训
  • 织梦网站如何做优化新闻头条