Class: GeoJSONSource
new GeoJSONSource(options)
Parameters:
Name |
Type |
Description |
options |
Object
|
源相关选项设置。 |
- Deprecated:
-
- Source:
-
View2D/Source/GeoJSONSource.js
Members
-
buffer :number
-
每边的瓷砖缓冲区大小
Type:
- Default Value:
-
- Source:
-
View2D/Source/GeoJSONSource.js
-
cluster :boolean
-
聚合
Type:
- Default Value:
-
- Source:
-
View2D/Source/GeoJSONSource.js
-
clusterMaxZoom :number
-
聚合最大级别
Type:
- Default Value:
-
- Source:
-
View2D/Source/GeoJSONSource.js
-
clusterRadius :number
-
聚合半径
Type:
- Default Value:
-
- Source:
-
View2D/Source/GeoJSONSource.js
-
data :array
-
GeoJSON文件或内联GeoJSON
Type:
- Default Value:
-
- Source:
-
View2D/Source/GeoJSONSource.js
-
maxzoom :number
-
最大层级
Type:
- Default Value:
-
- Source:
-
View2D/Source/GeoJSONSource.js
-
minzoom :number
-
最小层级
Type:
- Default Value:
-
- Source:
-
View2D/Source/GeoJSONSource.js
-
tolerance :number
-
容差
Type:
- Default Value:
-
- Source:
-
View2D/Source/GeoJSONSource.js