style: lint style

This commit is contained in:
2912401452 2021-08-31 20:15:36 +08:00
parent c736b63a85
commit 90b1e3a087
1 changed files with 5 additions and 5 deletions

View File

@ -73,7 +73,7 @@ export default class Amap2demo_image extends React.Component {
];
scene.addImage(
'00',
'https://gw.alipayobjects.com/zos/basement_prod/604b5e7f-309e-40db-b95b-4fac746c5153.svg'
'https://gw.alipayobjects.com/zos/basement_prod/604b5e7f-309e-40db-b95b-4fac746c5153.svg',
// "https://gw.alipayobjects.com/mdn/rms_23a451/afts/img/A*qYtMTanpMOcAAAAAAAAAAAAAARQnAQ"
// 'https://gw.alipayobjects.com/mdn/rms_23a451/afts/img/A*nGW2RZ3j8c8AAAAAAAAAAAAAARQnAQ'
// 'https://gw.alipayobjects.com/zos/bmw-prod/8eee5dbd-c3f5-4806-a9b5-5c8e90d8510c.svg'
@ -89,16 +89,16 @@ export default class Amap2demo_image extends React.Component {
scene.on('loaded', () => {
this.imageLayer = new PointLayer()
.source(originData, {
.source(originData, {
parser: {
type: 'json',
x: 'longitude',
y: 'latitude',
},
})
.shape('name', ['00', '01','02'])
.size(20)
scene.addLayer(this.imageLayer)
.shape('name', ['00', '01', '02'])
.size(20);
scene.addLayer(this.imageLayer);
});
}