import MapChartDistribution_leaflet from 'kqwebmap-project/src_en/map/echart/MapChartDistribution_leaflet.js'
MapChartDistribution_leaflet
Constructor Summary
Public Constructor | ||
public |
constructor(options: Object) 构造函数 |
Method Summary
Public Methods | ||
public |
addToMapView(mapview: Object): Null 添加分布图到mapview |
|
public |
geoJsonAddTo(map: *) |
|
public |
getColor(data: *): * |
|
public |
getStyle(feature: *): {"weight": number, "opacity": number, "color": string, "dashArray": string, "fillOpacity": number, "fillColor": *} |
|
public |
highlightFeature(e: *) |
|
public |
hoverInfoAddTo(map: *) |
|
public |
legendAddTo(map: *) |
|
public |
onEachFeature(feature: *, layer: *) |
|
public |
remove(): Null 移除分布图 |
|
public |
resetHighlight(e: *) |
|
public |
zoomToFeature(e: *) |
Public Constructors
Public Methods
public addToMapView(mapview: Object): Null source
添加分布图到mapview
Params:
Name | Type | Attribute | Description |
mapview | Object | mapview对象 |
Return:
Null |
public geoJsonAddTo(map: *) source
Params:
Name | Type | Attribute | Description |
map | * |
public getStyle(feature: *): {"weight": number, "opacity": number, "color": string, "dashArray": string, "fillOpacity": number, "fillColor": *} source
Params:
Name | Type | Attribute | Description |
feature | * |
public highlightFeature(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public hoverInfoAddTo(map: *) source
Params:
Name | Type | Attribute | Description |
map | * |
public legendAddTo(map: *) source
Params:
Name | Type | Attribute | Description |
map | * |
public onEachFeature(feature: *, layer: *) source
Params:
Name | Type | Attribute | Description |
feature | * | ||
layer | * |
public resetHighlight(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public zoomToFeature(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |