MapBackgroundConfig(paramopt)

new MapBackgroundConfig(paramopt)

地球上的背景的基础数据结构 支持可见层级

Parameters:
Name Type Attributes Default Description
param Object <optional>
{} 参数对象
Properties
Name Type Attributes Description
visibleLevel Array.<Number> <optional>
可见层级
type String <optional>
背景类型 image,skybox,color
url String | Array.<String> <optional>
背景图片url type为image和skybox生效
color Array.<Number> <optional>
背景颜色 type为color生效
Author:
  • caiihuimin

Members

color :String

获取背景的颜色 type为color生效

type :String

获取/设置背景的类型

url :String|Array.<String>

获取/设置背景的url type为image或skybox生效

visibleLevel :Array.<Number>

获取/设置背景的可见层级