# MapGIS2DDocMapProvider

#### new Cesium.MapGIS2DDocMapProvider(options)
MapGIS/MapGIS2DDocMapProvider.js 69

MapGIS二维文档

Name | Type | Description
--- | --- | ---

`options`

Object

包含以下属性

Name | Type | Default | Description
--- | --- | --- | ---
`url` | String |  | 服务地址 eg:http://localhost:6163/igs/rest/mrms/docs/二维矢量
`tileWidth` | Number | `256` | optional 瓦片宽度
`tileHeight` | Number | `256` | optional 瓦片高度
`minimumLevel` | Number | `0` | optional 瓦片最小级别
`maximumLevel` | Number | `0` | optional 瓦片最大级别
`gdbps` | Array |  | optional gdbps地址数组
`layers` | String |  | optional layers参数，用于过滤图层
`tilingScheme` | Object |  | optional 服务的平铺方案:经纬度GeographicTilingScheme,web墨卡托WebMercatorTilingScheme
`extensions` | Array |  | optional 扩展参数，需要确保服务端支持

##### Example:

    // options.extensions 参数为自定义扩展参数，需要确保服务端支持此类参数生效
           var options = {
                             extensions: [   { key: 'token', value: 'tokentokentokentoken' },
                                             { key: 'filters', value: '1:ID>4,3:ID>1'}
                                         ]
                         };

           var lauer = webGlobe.addImageLayer(new Cesium.MapGIS2DDocMapProvider({
                  url:'http://localhost:6163/igs/rest/mrms/docs/二维矢量'
                 }));
           var lauer = webGlobe.addImageLayer(new Cesium.MapGIS2DDocMapProvider({
                  url:'http://localhost:6163/igs/rest/mrms/docs/二维矢量',
                  tilingScheme : new Cesium.WebMercatorTilingScheme()
                 }));