openlayers.layer.WMS
2013-12-10 19:05
288 查看
参数
name {string} A name for the layer,
url {string} Base url for the WMS(e.g. http://wms.jpl.nasa.gov/wms.cgi)
params {object} An object with key/value parirs representing the GetMap query string parameters and parameter values
oprions {Object} Hashtable of extra options to tag onto the layer. These options include all properties listed above, plus the ones inherited from superclasses.(可省)
例子
var wms =new OpenLayers.Layer.WMS("图层名称",
"http://wms.jpl.nasa.gov/wms.cgi",
{layers:"modis,global_mosaic"}
);
相关文章推荐
- 扩展 OpenLayers.Layer.WMS 为自定义的瓦片浏览服务
- openlayer 加载天地图为地图,同时加载arcgisserver发布的wms
- OpenLayers3的WMS空间查询实现多个图层
- OpenLayers.Layer.Grid
- OpenLayers 3 之 地图矢量图层(ol.layer.Vector)详解,openlayersvector
- OpenLayers 3 之 地图矢量图层(ol.layer.Vector)详解,openlayersvector
- Hello Openlayers
- openlayer label
- layer open 总显示父table的信息
- openlayer3 去除所有overlay
- Using OpenLayers to develop a WebGIS Client
- layer.msg弹出会关闭layer.open弹出的窗口问题
- layer.open 自适应
- layer.open 强化1
- PostGIS+QGIS+GeoServer+OpenLayers实现数据的存储、服务的发布以及地图的显示
- 项目中openlayer中使用,完整解决方案(数据库矢量数据,动态更新,分层,编辑)
- caffe: layer & layers之区别
- layer.open的自适应及居中及子页面标题的修改
- Layer:如何调用layer.open打开的的iframe窗口中的JS?
- 用OpenLayers API和类来画点、线、面