Skip to content

Conversation

@zzhf
Copy link
Contributor

@zzhf zzhf commented Oct 8, 2019

tiledMapLayer新增支持subdomains,应对多iserver或者代理情况

* @param {(number|L.Point)} [options.tileSize=256] - 瓦片大小。
* @param {(SuperMap.NDVIParameter|SuperMap.HillshadeParameter)} [options.rasterfunction] - 栅格分析参数。
* @param {string} [options.attribution='Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' title='SuperMap iServer' target='_blank'>SuperMap iServer</a></span>'] - 版权信息。
* @param {Array.<number>} [options.subdomains=[0, 1, 2, 3, 4, 5, 6, 7]] - 子域名数组。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[options.subdomains=[0, 1, 2, 3, 4, 5, 6, 7]] jsdoc(api)中等号后面的值代表默认值,subdomains默认是没有默认值,去掉这部分

@songyumeng
Copy link
Member

谢谢您的PR,请在分支上修改下。

@songyumeng songyumeng merged commit 772042a into SuperMap:master Oct 9, 2019
@zzhf zzhf deleted the dc-leaflet branch October 9, 2019 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants