Class: TopoJsonLayer

TopoJsonLayer

用于展示格式为 TopoJson 的三维图元

new TopoJsonLayer(options)

layer/TopoJsonLayer.js, line 15
Name Type Description
options LayerOptions

图层可选参数

Name Type Description
url String

数据源路径

params Object

其他属性设置

Extends

Classes

TopoJsonLayer

Methods

inherited eachOverlay(method, context){Layer}

layer/GeoJsonLayer.js, line 90

遍历每个 Overlay 并将其作为参数传递给回调函数

Name Type Description
method function

回调函数

context *

上下文环境

Returns:
Type Description
Layer

inherited toModelLayer(){EntityLayer}

layer/GeoJsonLayer.js, line 126

转换为 Model 对应的 EntityLayer

Returns:
Type Description
EntityLayer

inherited toVectorLayer(){EntityLayer}

layer/GeoJsonLayer.js, line 107

转换为 EntityLayer

Returns:
Type Description
EntityLayer