public final class Legend
extends com.supermap.data.InternalHandle
限定符和类型 | 方法和说明 |
---|---|
static int |
calcMaxCount(Map map,
double dMapScale,
Point2D startPoint,
Point2D endPoint)
计算图例显示个数
|
static DatasetVector |
createLegend(Map map,
Datasource datasource,
double dMapScale,
Point2D startPoint,
int nCount)
创建图例
|
public static DatasetVector createLegend(Map map, Datasource datasource, double dMapScale, Point2D startPoint, int nCount)
map
- 地图datasource
- 存放图例数据集的数据源dMapScale
- 数据比例尺(用于确定图例在此比例尺下的标准显示)startPoint
- 起始位置(地理坐标)nCount
- 图例个数(为0则全部显示)Copyright © 2021–2024 SuperMap. All rights reserved.