MapLabel
interface MapLabel {
direction?: 0 | 1 | 2 | 3 | 4;
displayRange?: [number, number];
position: Point;
rank?: number;
style?: MapLabelStyle;
text?: string;
textMargin?: number;
type?: string;
uid?: string;
}
direction?: 0 | 1 | 2 | 3 | 4;
displayRange?: [number, number];
position: Point;
rank?: number;
style?: MapLabelStyle;
text?: string;
textMargin?: number;
type?: string;
uid?: string;
}
map 的 addMapLabels 方法支持向底图上添加可参与碰撞的 label *