Classes
Type Definitions
-
接受
ViewStateLayerStateExtent并返回表示数据源归属的字符串或字符串数组的函数。 -
AttributionLike{string} {Array.<string>} {Attribution}
-
可用于提供数据源归属信息的类型。
它表示简单字符串(如 '© Acme Inc.')、简单字符串数组(如 ['© Acme Inc.', '© Bacme Inc.'])、返回字符串或字符串数组的函数(Attribution)
-
Options{Object}
-
Properties:
Name Type Description attributionsAttributionLike | undefined 归属信息。
attributionsCollapsibleboolean
(defaults to true)归属信息是否可折叠。
projectionProjectionLike | undefined 投影。默认为视图投影。
stateState
(defaults to 'ready')状态。
wrapXboolean
(defaults to false)水平环绕。
interpolateboolean
(defaults to false)重采样时使用插值。 默认情况下, 重采样时使用最近邻。
-
State{'undefined'} {'loading'} {'ready'} {'error'}
-
数据源状态,可选值为 'undefined'、'loading'、'ready' 或 'error'。