Skip to content

tiledMapLayer新增支持subdomains #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 9, 2019
Merged

tiledMapLayer新增支持subdomains #49

merged 2 commits into from
Oct 9, 2019

Conversation

zzhf
Copy link
Contributor

@zzhf zzhf commented Oct 8, 2019

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

@@ -40,6 +40,7 @@ import Attributions from '../core/Attributions'
* @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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy