style1 = new SuperMap.ServerTextStyle({
fontHeight: 4,
foreColor: new SuperMap.ServerColor(100, 20, 50),
sizeFixed: true,
bold: true,
align:'TOPLEFT'
});
console.log(style1.align);
style2 = new SuperMap.A({
fontHeight: 4,
foreColor: new SuperMap.ServerColor(0, 255, 0),
sizeFixed: true,
bold: true,
align:SuperMap.TextAlignment.TOPLEFT
});
用align属性设置位置时,网页没变化